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/kactivities | |
parent | 276617c77708f50d68ba9b4c87a866399ddd7250 (diff) | |
download | aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.bz2 aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.xz |
Added KDE core packages
Diffstat (limited to 'testing/kactivities')
-rw-r--r-- | testing/kactivities/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/kactivities/APKBUILD b/testing/kactivities/APKBUILD new file mode 100644 index 0000000000..6879eb1589 --- /dev/null +++ b/testing/kactivities/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=kactivities +pkgver=4.13.3 +pkgrel=0 +pkgdesc="API for using and interacting with the Activity Manager" +url="https://projects.kde.org/projects/kde/kdelibs/kactivities" +arch="all" +license="FDL GPL" +depends= +depends_dev="kdelibs-dev" +makedepends="$depends_dev automoc4 cmake" +install="" +subpackages="$pkgname-dev" +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 "$_builddir"/build +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DWITH_NepomukCore=OFF \ + -Wno-dev "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="e56a3aead6f418d973c0acd9c889deb8 kactivities-4.13.3.tar.xz" +sha256sums="c7cb9d023f6e5cd01d76568c3590303ea3ecb4ebe9535b31862957846f5e898a kactivities-4.13.3.tar.xz" +sha512sums="1d248ae6045a7ae8d54ce5355100cd76be954c2a57be3abaab968d8ff2693d09aa9b1d0242266de4eedf6005bedfde38df69a84a9a5a0b16606fe958159b31bc kactivities-4.13.3.tar.xz" |