desktop/kdeplasma-addons-kf5/PKGBUILD
2015-02-23 21:41:32 +00:00

36 lines
857 B
Bash

#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdeplasma-addons-frameworks
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=('kde-workspace')
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
install=${pkgname}.install
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}