summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-07-24 19:36:24 +0200
committerAntonio Rojas2015-07-24 19:36:24 +0200
commitee4e1e138d63c50aa0952d0968d7d9d09ff50e99 (patch)
tree23f5672792c92ff2f9b6f7601f15ab8007b5dee9
downloadaur-ee4e1e138d63c50aa0952d0968d7d9d09ff50e99.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD42
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..47ed4723647
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = akonadi-search-git
+ pkgdesc = Libraries and daemons to implement searching in Akonadi. (GIT version)
+ pkgver = r490.007a017
+ pkgrel = 1
+ url = https://projects.kde.org/projects/playground/pim/akonadi-search
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ license = FDL
+ makedepends = extra-cmake-modules
+ makedepends = kdoctools
+ makedepends = git
+ depends = xapian-core
+ depends = kdepimlibs-git
+ provides = akonadi-search
+ conflicts = akonadi-search
+ source = git://anongit.kde.org/akonadi-search
+ sha1sums = SKIP
+
+pkgname = akonadi-search-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..00898a7ad58
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
+
+pkgname=akonadi-search-git
+pkgver=r490.007a017
+pkgrel=1
+pkgdesc="Libraries and daemons to implement searching in Akonadi. (GIT version)"
+url='https://projects.kde.org/projects/playground/pim/akonadi-search'
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+depends=(xapian-core kdepimlibs-git)
+makedepends=(extra-cmake-modules kdoctools git)
+provides=(akonadi-search)
+conflicts=(akonadi-search)
+source=("git://anongit.kde.org/akonadi-search")
+sha1sums=('SKIP')
+_gitname=akonadi-search
+
+pkgver() {
+ cd "${_gitname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ rm -fr build
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake "../${_gitname}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ make -C build DESTDIR=${pkgdir} install
+}
+