desktop/kde-wallpapers/PKGBUILD

49 lines
1.1 KiB
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
#
# package info
#
pkgname=kde-wallpapers
2011-07-23 02:02:15 +08:00
pkgver=${_kdever}
pkgrel=1
2012-03-04 03:28:30 +08:00
_default_wp="Ariya"
2011-07-23 02:02:15 +08:00
2012-05-27 06:56:42 +08:00
pkgname="kde-wallpapers"
pkgdesc="KDE Wallpapers"
url="http://www.kde.org"
license="GPL"
arch=('any')
options=('!splithdr' 'splitdbg')
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")
md5sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
2012-03-04 03:28:30 +08:00
makedepends=('automoc4')
build() {
2011-07-23 02:02:15 +08:00
msg "building official kde wallpapers"
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() {
2011-07-23 02:02:15 +08:00
replaces=('kdebase-workspace-wallpapers')
2012-05-27 06:56:42 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
2011-07-23 02:02:15 +08:00
make DESTDIR=${pkgdir} install
rm -rfv ${pkgdir}/usr/share/wallpapers/${_default_wp}
}