# $Id: PKGBUILD 193256 2013-08-19 09:54:49Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgbase=kdeartwork pkgname=('kdeartwork-colorschemes' 'kdeartwork-desktopthemes' 'kdeartwork-emoticons' 'kdeartwork-iconthemes' 'kdeartwork-kscreensaver' 'kdeartwork-sounds' 'kdeartwork-styles' 'kdeartwork-wallpapers' 'kdeartwork-weatherwallpapers') pkgver=4.11.0 pkgrel=1 arch=('i686' 'x86_64' 'mips64el') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeartwork') makedepends=('cmake' 'automoc4' 'xscreensaver' 'eigen' 'kdebase-workspace' 'libkexiv2') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz") sha1sums=('e2240e998483cd5f65a1602c8c410bb8453c2b4b') build() { cd $srcdir mkdir build cd build cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } package_kdeartwork-colorschemes() { pkgdesc='KDE color schemes' replaces=('kdeaccessibility-colorschemes') cd $srcdir/build/ColorSchemes make DESTDIR=$pkgdir install } package_kdeartwork-desktopthemes() { pkgdesc='KDE desktop themes' cd $srcdir/build/desktopthemes make DESTDIR=$pkgdir install } package_kdeartwork-emoticons() { pkgdesc='KDE emoticons' cd $srcdir/build/emoticons make DESTDIR=$pkgdir install } package_kdeartwork-iconthemes() { pkgdesc='KDE icon themes' replaces=('kdeaccessibility-iconthemes') cd $srcdir/build/IconThemes make DESTDIR=$pkgdir install } package_kdeartwork-kscreensaver() { pkgdesc='KDE screensaver' depends=('kdebase-workspace' 'libkexiv2') cd $srcdir/build/kscreensaver make DESTDIR=$pkgdir install } package_kdeartwork-sounds() { pkgdesc='KDE sounds' cd $srcdir/build/sounds make DESTDIR=$pkgdir install } package_kdeartwork-styles() { pkgdesc='KDE styles' depends=('kdebase-workspace') cd $srcdir/build/styles make DESTDIR=$pkgdir install cd $srcdir/build/kwin-styles make DESTDIR=$pkgdir install } package_kdeartwork-wallpapers() { pkgdesc='KDE wallpapers' cd $srcdir/build/wallpapers make DESTDIR=$pkgdir install cd $srcdir/build/HighResolutionWallpapers make DESTDIR=$pkgdir install } package_kdeartwork-weatherwallpapers() { pkgdesc='KDE weather wallpapers' cd $srcdir/build/WeatherWallpapers make DESTDIR=$pkgdir install }