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/kde-runtime | |
parent | 276617c77708f50d68ba9b4c87a866399ddd7250 (diff) | |
download | aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.bz2 aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.xz |
Added KDE core packages
Diffstat (limited to 'testing/kde-runtime')
-rw-r--r-- | testing/kde-runtime/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/kde-runtime/APKBUILD b/testing/kde-runtime/APKBUILD new file mode 100644 index 0000000000..37f2eb7cc7 --- /dev/null +++ b/testing/kde-runtime/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=kde-runtime +pkgver=4.13.3 +pkgrel=0 +pkgdesc="KDE base runtime" +url="http://www.kde.org/" +arch="all" +license="LGPL" +depends= +depends_dev="kactivities-dev kdepimlibs-dev libgcrypt-dev + samba-dev libssh-dev libcanberra-dev openslp-dev" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +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 \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0 \ + -DWITH_NepomukCore:BOOL=OFF \ + -DWITH_PulseAudio:BOOL=OFF \ + -DWITH_NetworkManager:BOOL=OFF \ + -Wno-dev \ + "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 + ln -sfv "$pkgdir"/usr/lib/kde4/libexec/kdesu \ + "$pkgdir"/usr/bin/kdesu || return 1 + rm "$pkgdir"/usr/share/icons/hicolor/index.theme || return 1 +} + +md5sums="8b7b7e217744779f33dd8aa38015efa0 kde-runtime-4.13.3.tar.xz" +sha256sums="d35dbf930d212e86154e87e3566797827af1ed666099e5d5df8df76b874318f0 kde-runtime-4.13.3.tar.xz" +sha512sums="785f6d392e7d573487e38316976eb64061bba417ec68edff6e1aad1499f5932c15db3ee21daf357fcb5be72c13fb658f7359dbc493c4214df6b2d34072dacfb5 kde-runtime-4.13.3.tar.xz" |