# Maintainer: steelstrings # Contributor: Mohammadreza Abdollahzadeh pkgname=f21-backgrounds pkgver=21.1.0 pkgrel=1 _rhver="${pkgver}-4.fc26" pkgdesc="Fedora 21 backgrounds" arch=('any') url="https://fedoraproject.org/wiki/Wallpapers#Fedora_21" license=('CC-BY-SA') _rhlink="https://archives.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages" source=("${_rhlink}/f/${pkgname}-${_rhver}.src.rpm") sha256sums=('38a4eb9604058766d3faf8a565c080645c77539fe0cac1ac3fa4cc5306a383dd') prepare() { tar -xvJf ./${pkgname}-${pkgver}.tar.xz rm -r ./${pkgname}-${pkgver}.tar.xz rm -r ./${pkgname}.spec } build() { cd ./${pkgname}-${pkgver} make } package() { cd ./${pkgname}-${pkgver} make install DESTDIR="${pkgdir}" }