diff options
Diffstat (limited to 'extra/kdesdk-kioslaves')
-rw-r--r-- | extra/kdesdk-kioslaves/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdesdk-kioslaves/kdesdk-kioslaves.install | 11 |
2 files changed, 42 insertions, 0 deletions
diff --git a/extra/kdesdk-kioslaves/PKGBUILD b/extra/kdesdk-kioslaves/PKGBUILD new file mode 100644 index 000000000..96a898b0f --- /dev/null +++ b/extra/kdesdk-kioslaves/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdesdk-kioslaves +pkgver=4.11.0 +pkgrel=1 +pkgdesc='KIO-Slaves' +url='https://projects.kde.org/projects/kde/kdesdk/kdesdk-kioslaves' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdesdk') +depends=('kdebase-runtime' 'subversion') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kdesdk-kioslaves-${pkgver}.tar.xz") +sha1sums=('020946f037978a95d3d336a5bb7af33987f94142') + +build() { + mkdir build + cd build + cmake ../kdesdk-kioslaves-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR=$pkgdir install +} diff --git a/extra/kdesdk-kioslaves/kdesdk-kioslaves.install b/extra/kdesdk-kioslaves/kdesdk-kioslaves.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kdesdk-kioslaves/kdesdk-kioslaves.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |