diff options
author | Linux User <se@alpine-desktop.my.domain> | 2014-10-16 19:52:25 +0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-17 13:52:16 +0000 |
commit | 9085b73f09d41af164193a3e0b5e22fcce80d503 (patch) | |
tree | 5d2e5fa503bf2540ddeed992a4aba407ffa24649 /testing/kdepimlibs | |
parent | 276617c77708f50d68ba9b4c87a866399ddd7250 (diff) | |
download | aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.bz2 aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.xz |
Added KDE core packages
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" |