desktop/kde-wallpapers/PKGBUILD

27 lines
755 B
Bash

pkgname=kde-wallpapers
pkgver=15.08.3
pkgrel=2
pkgdesc="A set of wallpapers for KDE"
arch=('any')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
makedepends=('kdelibs' 'cmake' 'automoc4')
replaces=('kde-workspace-wallpapers')
options=('debug')
groups=("kde" "kde-uninstall")
source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('1daa0daa7f85f234f865366f304b6b9ba4ad1b3a')
package() {
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make DESTDIR="${pkgdir}" install
# Autumn is provided now by plasma-workspace-wallpapers>=5.5.0
rm -rfv ${pkgdir}/usr/share/wallpapers/Autumn
}