desktop/kde-wallpapers/PKGBUILD

43 lines
937 B
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2012-11-18 09:22:24 +08:00
pkgname="kde-wallpapers"
2011-07-23 02:02:15 +08:00
pkgver=${_kdever}
pkgrel=1
2012-12-20 03:31:59 +08:00
_default_wp="Elarun"
2011-07-23 02:02:15 +08:00
2012-05-27 06:56:42 +08:00
pkgdesc="KDE Wallpapers"
url="http://www.kde.org"
license="GPL"
arch=('any')
2012-11-18 09:22:24 +08:00
options=('!splithdr' 'splitdbg' 'log')
2011-07-23 02:02:15 +08:00
groups=("kde" "kde-uninstall")
2012-05-27 06:56:42 +08:00
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
2013-07-22 08:42:19 +08:00
sha1sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
depends=('kdelibs')
2012-11-18 09:22:24 +08:00
replaces=('kde-workspace-wallpapers')
2012-03-04 03:28:30 +08:00
makedepends=('automoc4')
build() {
2012-05-27 06:56:42 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
2011-07-23 02:02:15 +08:00
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
2010-07-31 10:01:14 +08:00
}
2012-05-27 06:56:42 +08:00
package() {
cd ${srcdir}/${pkgname}-${pkgver}
2011-07-23 02:02:15 +08:00
make DESTDIR=${pkgdir} install
rm -rfv ${pkgdir}/usr/share/wallpapers/${_default_wp}
}