desktop/plasma-workspace-wallpapers/PKGBUILD
2014-10-22 19:29:25 +00:00

40 lines
719 B
Bash

source ../plasma.conf
pkgname=plasma-workspace-wallpapers
pkgver=${PVersion}
pkgrel=1
pkgdesc="Plasma Desktop"
arch=('x86_64')
url='http://projects.kde.org'
license=('LGPL')
depends=('plasma-workspace')
makedepends=('extra-cmake-modules')
checkdepends=("cmake")
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${PBuildType} \
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
check() {
cd build
make test || return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}