pmaports/main/postmarketos-artwork-wallpapers/APKBUILD
2018-06-30 16:08:43 +02:00

28 lines
1 KiB
Text

# Contributor: Olgierd "moondeck" Nowakowski <olgierd@novakovsky.eu>
# Maintainer: Olgierd "moondeck" Nowakowski <olgierd@novakovsky.eu>
pkgname="postmarketos-artwork-wallpapers"
pkgver=1
pkgrel=3
pkgdesc="Wallpapers for postmarketOS"
url="https://postmarketos.org/"
arch="noarch"
license="CC-BY-SA"
_hash="ffddddd3da2c8e32647e77ea1e47965a030e8501"
source="postmarketos-artwork-$_hash.tar.gz::https://gitlab.com/postmarketOS/artwork/-/archive/${_hash}/artwork-${_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"