#Maintainer: Christopher Rey P. Baluyut pkgname=kdebase-runtime pkgver=4.4.2 pkgrel=1 zenver=64 arch=i686 source=("http://ftp-stud.fht-esslingen.de/Mirrors/ftp.kde.org/pub/kde/stable/$pkgver/src/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/kde/$pkgname/source url="http://www.kde.org" docs=("COPYING*") extradepends=('hicolor-icon-theme') doinst() { if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "kdebase-runtime" "This package contains core components of the KDE base runtime module." ) build() { if [ -d /usr/lib/qt ]; then QTDIR=/usr/lib/qt fi cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="-O2 -march=i686 -mtune=i686" \ -DCMAKE_CXX_FLAGS:STRING="-O2 -march=i686 -mtune=i686" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMAN_INSTALL_DIR=/usr/man \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_SUFFIX="" \ .. make -j2 || exit 1 make install DESTDIR=$startdir/pkg || exit 1 cd - ( cd $PKG/usr/bin ; ln -s /usr/lib/kde4/libexec/kdesu . ) rm -f $startdir/pkg/usr/share/icons/hicolor/index.theme }