diff options
Diffstat (limited to 'unmaintained/akonadi/APKBUILD')
-rw-r--r-- | unmaintained/akonadi/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/akonadi/APKBUILD b/unmaintained/akonadi/APKBUILD new file mode 100644 index 0000000000..553e9c9e29 --- /dev/null +++ b/unmaintained/akonadi/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=akonadi +pkgver=1.13.0 +pkgrel=2 +pkgdesc="kde PIM storage service server" +url="http://pim.kde.org/akonadi" +arch="x86 x86_64" +license="LGPL" +depends="" +depends_dev="boost-dev qt-dev postgresql-dev libxslt-dev shared-mime-info" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/akonadi/src/akonadi-$pkgver.tar.bz2 + disable-backtrace-1.13.0.patch" + +_builddir="$srcdir"/akonadi-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + mkdir "$_builddir"/build +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \ + -DAKONADI_BUILD_TESTS=OFF \ + -Wno-dev \ + "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="84eb2e471bd6bdfe54a2a2f1d858c07d akonadi-1.13.0.tar.bz2 +e9c4b8af3e3222ec001bf3a90132fcf5 disable-backtrace-1.13.0.patch" +sha256sums="8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2 akonadi-1.13.0.tar.bz2 +31c929cd87b655075380cee2790f73c7ef80373c3c845bf195029cef6e875390 disable-backtrace-1.13.0.patch" +sha512sums="4bf2026c3807b5493c9f63d0c2bff2e6db00fbe97a4e2c2f707aaa3bf4a848b70dd9657d8fa1743690e8eeefd967de4895c1329c6bb817a1d023fe398285222f akonadi-1.13.0.tar.bz2 +bf4571643e27e705933a0e6491144b0fd1d55abbfbc75f93a65234e880625cc4c03eca0994d6c0a90b9c3521be5d33b91399b079fc07da662bdbc807775daa8d disable-backtrace-1.13.0.patch" |