mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 04:17:18 +08:00
systemsettings: initial import
This commit is contained in:
parent
dc45ccd7a2
commit
4b0a4ecc20
41
systemsettings/PKGBUILD
Normal file
41
systemsettings/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||||
|
|
||||||
|
source ../plasma.conf
|
||||||
|
|
||||||
|
pkgname=systemsettings
|
||||||
|
pkgver=${PVersion}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Systemsettings'
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
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")
|
||||||
|
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.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
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd build
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user