core/kde-cli-tools/PKGBUILD

37 lines
882 B
Bash
Raw Normal View History

#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kde-cli-tools
2014-06-22 20:01:09 +08:00
source ../plasma.conf
pkgname=kde-cli-tools
pkgver=${PVersion}
pkgrel=1
2014-12-01 13:27:04 +08:00
pkgdesc="Tools based on KDE Frameworks 5 to better interact with the system"
2014-10-23 03:29:25 +08:00
arch=('x86_64')
2014-12-01 13:27:04 +08:00
url='https://projects.kde.org/projects/kde/workspace/kde-cli-tools'
2014-06-22 20:01:09 +08:00
license=('LGPL')
2015-02-25 05:26:37 +08:00
depends=('kdesu' 'kcmutils')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
2014-06-22 20:01:09 +08:00
checkdepends=("cmake")
2014-07-11 00:48:32 +08:00
groups=('plasma')
2014-06-22 20:01:09 +08:00
options=("debug")
2014-10-23 03:29:25 +08:00
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
2014-06-22 20:01:09 +08:00
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
2014-12-01 13:27:04 +08:00
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYHTON_EXECUTABLE=/usr/bin/python3
2014-06-22 20:01:09 +08:00
make
}
package() {
cd build
2014-12-01 13:27:04 +08:00
make DESTDIR="$pkgdir" install
# conflicts with kdebase-runtime
rm -r "$pkgdir"/usr/share/man
2014-06-22 20:01:09 +08:00
}