desktop/kde-wallpapers/PKGBUILD
2013-07-22 00:42:19 +00:00

43 lines
937 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kde-wallpapers"
pkgver=${_kdever}
pkgrel=1
_default_wp="Elarun"
pkgdesc="KDE Wallpapers"
url="http://www.kde.org"
license="GPL"
arch=('any')
options=('!splithdr' 'splitdbg' 'log')
groups=("kde" "kde-uninstall")
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
depends=('kdelibs')
replaces=('kde-workspace-wallpapers')
makedepends=('automoc4')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rfv ${pkgdir}/usr/share/wallpapers/${_default_wp}
}