2014-06-22 22:11:37 +08:00
|
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
|
|
|
|
source ../plasma.conf
|
|
|
|
|
|
|
|
pkgname=systemsettings
|
|
|
|
pkgver=${PVersion}
|
2014-08-13 05:28:08 +08:00
|
|
|
pkgrel=1
|
2014-06-22 22:11:37 +08:00
|
|
|
pkgdesc='Systemsettings'
|
2014-10-23 03:29:25 +08:00
|
|
|
arch=('x86_64')
|
2014-06-22 22:11:37 +08:00
|
|
|
url='projects.kde.org/'
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('qt5-base' 'kdelibs4support' 'kio' 'kiconthemes' 'kemoticons' 'kitemmodels' 'kinit' 'khtml' 'kcmutils')
|
|
|
|
makedepends=('extra-cmake-modules')
|
|
|
|
checkdepends=("cmake")
|
|
|
|
groups=('plasma')
|
|
|
|
options=("debug")
|
2014-10-23 03:29:25 +08:00
|
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
2014-06-22 22:11:37 +08:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|