pmaports/main/postmarketos-artwork-wallpapers/APKBUILD

29 lines
1,006 B
Text
Raw Normal View History

# Contributor: Olgierd "moondeck" Nowakowski <olgierd@novakovsky.eu>
# Maintainer: Olgierd "moondeck" Nowakowski <olgierd@novakovsky.eu>
pkgname="postmarketos-artwork-wallpapers"
pkgver=1
pkgrel=2
pkgdesc="Wallpapers for postmarketOS"
url="https://postmarketos.org/"
arch="noarch"
license="CC-BY-SA"
_hash="ffddddd3da2c8e32647e77ea1e47965a030e8501"
source="postmarketos-artwork-$_hash.tar.gz::https://github.com/postmarketOS/artwork/archive/${_hash}.tar.gz"
subpackages="$pkgname-extra"
options="!check"
package() {
mkdir -p "$pkgdir"/usr/share/wallpapers/
cp -r "$srcdir"/artwork-$_hash/wallpapers/logo/* \
"$pkgdir"/usr/share/wallpapers/
}
extra() {
mkdir -p "$subpkgdir"/usr/share/wallpapers/
cp "$srcdir"/artwork-$_hash/wallpapers/extra/* \
"$subpkgdir"/usr/share/wallpapers/
}
sha512sums="8a938b3773ccd98f0904c9b57d15ae1ef139070a0eb44b9226d81d038cb8457b2e8671874ada85a6816e4fe8c307c9d3aa72ad5d804b38dcff0bedb8ab51b515 postmarketos-artwork-ffddddd3da2c8e32647e77ea1e47965a030e8501.tar.gz"