aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kde-runtime
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 14:29:37 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 15:49:14 +0100
commitc19681d5659d62243951090ec659679ecd968094 (patch)
treeac8c16cbf710ba709032c55432ae5905f8d33f88 /unmaintained/kde-runtime
parent32a425d29f4b695fd7c2bacb5b177307e5b6afdd (diff)
downloadaports-c19681d5659d62243951090ec659679ecd968094.tar.bz2
aports-c19681d5659d62243951090ec659679ecd968094.tar.xz
unmaintained/kde-runtime: moved from testing
Diffstat (limited to 'unmaintained/kde-runtime')
-rw-r--r--unmaintained/kde-runtime/APKBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/unmaintained/kde-runtime/APKBUILD b/unmaintained/kde-runtime/APKBUILD
new file mode 100644
index 0000000000..f39131d644
--- /dev/null
+++ b/unmaintained/kde-runtime/APKBUILD
@@ -0,0 +1,56 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=kde-runtime
+pkgver=4.13.3
+pkgrel=1
+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=""
+options="suid"
+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 /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"