summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:44:56 +0200
committerAntonio Rojas2015-06-08 22:44:56 +0200
commit3c49507532c3793375cd20f95cf0b6a21e07c4ed (patch)
tree4c63017da9e75bf73ac7fd5a71da19dc02b0bf76 /PKGBUILD
downloadaur-3c49507532c3793375cd20f95cf0b6a21e07c4ed.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c8fc749a5b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
+
+_gitname=kidentitymanagement
+pkgname=$_gitname-git
+pkgver=r3317.76fe915
+pkgrel=1
+pkgdesc="KDE PIM libraries"
+arch=('i686' 'x86_64')
+url="https://projects.kde.org/projects/kde/pim/$_gitname"
+license=('LGPL')
+depends=('kpimtextedit-git')
+makedepends=('extra-cmake-modules-git' 'git' 'python')
+conflicts=("$_gitname")
+provides=("$_gitname")
+source=("git://anongit.kde.org/$_gitname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$_gitname \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}