diff options
Diffstat (limited to 'testing/kdepimlibs')
-rw-r--r-- | testing/kdepimlibs/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/kdepimlibs/APKBUILD b/testing/kdepimlibs/APKBUILD new file mode 100644 index 0000000000..026962fc98 --- /dev/null +++ b/testing/kdepimlibs/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=kdepimlibs +pkgver=4.13.3 +pkgrel=1 +pkgdesc="kde personal information management libraries" +url="https://projects.kde.org/projects/kde/kdepimlibs" +arch="all" +license="LGPL" +depends= +depends_dev="kdelibs-dev libical-dev cyrus-sasl-dev + openldap-dev gpgme-dev + akonadi-dev qjson-dev" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" + +_builddir="$srcdir"/${pkgname}-${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 -p "$_builddir"/build +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -Wno-dev "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="f312139c3871f4666f626ea8feb26974 kdepimlibs-4.13.3.tar.xz" +sha256sums="5ed6907c3bfd4e74de185145385405a2b55bcf5f41ffcb2b56dbda41cc857adb kdepimlibs-4.13.3.tar.xz" +sha512sums="e1a6b96efaef11806b6fc7a7c636af47231c556fc03d605d7008fab610532bd5483dab49e85abf056d803d585a9d709e6467682637096b1c6669cb27fe9f13e4 kdepimlibs-4.13.3.tar.xz" |