desktop/kde-wallpapers/PKGBUILD

44 lines
1023 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Chakra Packages for Chakra, part of chakra-project.org
2013-12-18 02:36:04 +08:00
# Include global configuration
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}
2014-01-11 20:59:04 +08:00
pkgrel=3
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')
options=('!header' 'debug' '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")
2014-01-11 20:59:04 +08:00
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | 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}
}
2014-01-12 20:19:36 +08:00
sha256sums=('ad159e923ffb1ab022a73a25ce6df0ff819cb85e6e7a1afec56e8254e242cc22')