summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:56:28 +0200
committerAntonio Rojas2015-06-08 22:56:28 +0200
commit3f32271b7af0b2f7b4275424d9583f8588023154 (patch)
treeea95256b9bcc0617a97e67b71d667cef3823c265 /PKGBUILD
downloadaur-3f32271b7af0b2f7b4275424d9583f8588023154.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..de6bd99e733
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Antonio Rojas <nqn1976 @ gmail.com>
+
+pkgname=systemsettings-git
+pkgver=r1459.a19881d
+pkgrel=1
+pkgdesc='KDE system settings'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kde-workspace'
+license=('LGPL')
+depends=('kcmutils-git' 'khtml-git')
+makedepends=('extra-cmake-modules' 'git' 'kdoctools' 'python')
+conflicts=('systemsettings' 'kde-workspace<0')
+provides=('systemsettings')
+source=('git://anongit.kde.org/systemsettings.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd systemsettings
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../systemsettings \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}