summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:44:56 +0200
committerAntonio Rojas2015-06-08 22:44:56 +0200
commit3c49507532c3793375cd20f95cf0b6a21e07c4ed (patch)
tree4c63017da9e75bf73ac7fd5a71da19dc02b0bf76
downloadaur-3c49507532c3793375cd20f95cf0b6a21e07c4ed.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD40
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..231fe70dea8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = kidentitymanagement-git
+ pkgdesc = KDE PIM libraries
+ pkgver = r3317.76fe915
+ pkgrel = 1
+ url = https://projects.kde.org/projects/kde/pim/kidentitymanagement
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = extra-cmake-modules-git
+ makedepends = git
+ makedepends = python
+ depends = kpimtextedit-git
+ provides = kidentitymanagement
+ conflicts = kidentitymanagement
+ source = git://anongit.kde.org/kidentitymanagement.git
+ md5sums = SKIP
+
+pkgname = kidentitymanagement-git
+
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
+}