summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:42:28 +0200
committerAntonio Rojas2015-06-08 22:42:28 +0200
commit08ecd6dc7a437332a108e612a7f49c60d22e8c33 (patch)
treef154e4684a501c258be5a17be5deaa2ed2279e25
downloadaur-08ecd6dc7a437332a108e612a7f49c60d22e8c33.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD41
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8ba6190bdcc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = kcmutils-git
+ pkgdesc = Utilities for interacting with KCModules
+ pkgver = r103.f3e45a3
+ pkgrel = 1
+ url = https://projects.kde.org/projects/frameworks/kcmutils
+ arch = i686
+ arch = x86_64
+ groups = kf5
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ depends = kdeclarative-git
+ provides = kcmutils
+ conflicts = kcmutils
+ source = git://anongit.kde.org/kcmutils.git
+ md5sums = SKIP
+
+pkgname = kcmutils-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0bf72981ca1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kcmutils-git
+pkgver=r103.f3e45a3
+pkgrel=1
+pkgdesc='Utilities for interacting with KCModules'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kcmutils'
+license=('LGPL')
+depends=('kdeclarative-git')
+makedepends=('extra-cmake-modules-git' 'git')
+groups=('kf5')
+conflicts=(kcmutils)
+provides=(kcmutils)
+source=('git://anongit.kde.org/kcmutils.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kcmutils
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kcmutils \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}