core/kdeplasma-addons-kf5/PKGBUILD

43 lines
806 B
Bash
Raw Normal View History

2014-10-23 03:29:25 +08:00
source ../plasma.conf
pkgname=kdeplasma-addons-kf5
_pkgname=kdeplasma-addons
pkgver=${PVersion}
pkgrel=1
pkgdesc='KDE Plasma Workspace'
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/kdeplasma-addons'
license=('LGPL')
depends=('krunner' 'kdelibs4support')
makedepends=('extra-cmake-modules' 'kdoctools')
conflicts=('kdebase-workspace')
groups=('plasma')
2015-01-15 05:23:15 +08:00
options=("debug")
2014-10-23 03:29:25 +08:00
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
install=${pkgname}.install
2014-10-23 03:29:25 +08:00
prepare() {
mkdir -p build
2015-01-15 05:23:15 +08:00
cd ${_pkgname}-${pkgver}
2014-10-23 03:29:25 +08:00
}
build() {
cd build
2015-01-15 05:23:15 +08:00
cmake_kf5 ../${_pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
2014-10-23 03:29:25 +08:00
make
}
2015-01-15 05:23:15 +08:00
check() {
cd build
make test || return 0
}
2014-10-23 03:29:25 +08:00
package() {
cd build
make DESTDIR="${pkgdir}" install
2015-01-15 05:23:15 +08:00
}