mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
44 lines
986 B
Bash
44 lines
986 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]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")
|
|
md5sums=(`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}
|
|
}
|