aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kde-runtime/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kde-runtime/APKBUILD')
-rw-r--r--testing/kde-runtime/APKBUILD55
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"