mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
41 lines
1020 B
Bash
41 lines
1020 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kio-extras
|
|
source ../plasma.conf
|
|
|
|
pkgname=kio-extras
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="Additional components to increase the functionality of KIO"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/workspace/kio-extras'
|
|
license=('LGPL')
|
|
depends=('kdelibs4support' 'khtml' 'kdnssd' 'libssh' 'smbclient' 'exiv2' 'openexr' 'openslp'
|
|
'libmtp' 'kpty')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
install=${pkgname}.install
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# conflicts with kde-runtime
|
|
mv "$pkgdir"/usr/share/config.kcfg/jpegcreatorsettings{,5}.kcfg
|
|
|
|
}
|