desktop/kio-extras/PKGBUILD

41 lines
1020 B
Bash
Raw Normal View History

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kio-extras
2014-06-22 20:22:30 +08:00
source ../plasma.conf
pkgname=kio-extras
pkgver=${PVersion}
pkgrel=1
pkgdesc="Additional components to increase the functionality of KIO"
2014-10-23 03:29:25 +08:00
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/kio-extras'
2014-06-22 20:22:30 +08:00
license=('LGPL')
2015-01-15 05:23:15 +08:00
depends=('kdelibs4support' 'khtml' 'kdnssd' 'libssh' 'smbclient' 'exiv2' 'openexr' 'openslp'
'libmtp' 'kpty')
2015-01-15 05:23:15 +08:00
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
2014-06-22 20:22:30 +08:00
groups=('plasma')
options=("debug")
2015-01-15 05:23:15 +08:00
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
install=${pkgname}.install
2014-06-22 20:22:30 +08:00
prepare() {
mkdir -p build
2014-12-01 13:27:04 +08:00
cd ${pkgname}-${pkgver}
2014-06-22 20:22:30 +08:00
}
build() {
cd build
2014-12-01 13:27:04 +08:00
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
2014-06-22 20:22:30 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
2014-12-01 13:27:04 +08:00
# conflicts with kde-runtime
mv "$pkgdir"/usr/share/config.kcfg/jpegcreatorsettings{,5}.kcfg
2015-01-15 05:23:15 +08:00
2014-06-22 20:22:30 +08:00
}