71 lines
2.5 KiB
Text
71 lines
2.5 KiB
Text
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
pkgname=postmarketos-artwork
|
|
pkgver=5
|
|
pkgrel=0
|
|
pkgdesc="Meta package for the postmarketOS artwork"
|
|
url="https://postmarketos.org/"
|
|
arch="noarch"
|
|
license="CC-BY-SA-4.0"
|
|
_hash="f28dd5fef287c970f50ca49bc44814ee1e3b229d"
|
|
source="postmarketos-artwork-$_hash.tar.gz::https://gitlab.com/postmarketOS/artwork/-/archive/$_hash/artwork-$_hash.tar.gz"
|
|
subpackages="
|
|
$pkgname-wallpapers
|
|
$pkgname-wallpapers-extra:wallpapers_extra
|
|
$pkgname-icons
|
|
$pkgname-sounds
|
|
"
|
|
options="!check"
|
|
builddir="$srcdir"/artwork-$_hash
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
wallpapers() {
|
|
pkgdesc="Wallpapers for postmarketOS"
|
|
mkdir -p "$subpkgdir"/usr/share/wallpapers
|
|
cp -r "$builddir"/wallpapers/2024/meadow \
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos
|
|
install -Dm644 "$builddir"/wallpapers/gnome/pmos.xml \
|
|
"$subpkgdir"/usr/share/gnome-background-properties/postmarketos.xml
|
|
}
|
|
|
|
wallpapers_extra() {
|
|
pkgdesc="Additional Wallpapers for postmarketOS"
|
|
mkdir -p "$subpkgdir"/usr/share/wallpapers/
|
|
install -Dm644 "$builddir"/wallpapers/extra/* \
|
|
"$subpkgdir"/usr/share/wallpapers/
|
|
install -Dm644 "$builddir"/wallpapers/logo/postmarketos.jpg \
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos-light.jpg
|
|
install -Dm644 "$builddir"/wallpapers/logo/logo_dark.jpg \
|
|
"$subpkgdir"/usr/share/wallpapers/logo_dark.jpg
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos-grass-800x480.jpg \
|
|
"$subpkgdir"/usr/share/wallpapers/pmos-grass-800x480.jpg
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos-grass.jpg \
|
|
"$subpkgdir"/usr/share/wallpapers/pmos-grass.jpg
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos.jpg \
|
|
"$subpkgdir"/usr/share/wallpapers/pmos.jpg
|
|
}
|
|
|
|
icons() {
|
|
pkgdesc="Icons for postmarketOS"
|
|
install -Dm644 "$builddir"/logo/logo.svg \
|
|
"$subpkgdir"/usr/share/pixmaps/postmarketos-logo.svg
|
|
install -Dm644 "$builddir"/logo/logo-phone.svg \
|
|
"$subpkgdir"/usr/share/pixmaps/postmarketos-logo-phone.svg
|
|
}
|
|
|
|
sounds() {
|
|
pkgdesc="Sounds for postmarketOS"
|
|
mkdir -p "$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
install -Dm644 "$builddir"/tones/battery_low.mid \
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
install -Dm644 "$builddir"/tones/no_signal.mid \
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
install -Dm644 "$builddir"/tones/startup.mid \
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
}
|
|
|
|
sha512sums="
|
|
cef2326a28dbd597f3d679329aaac17031bf1fdc60f634bc25cf20b23e62028961c5f228570df824615b21616a18ab2fd290a770cfd4f3ca1d929ac552a34ea8 postmarketos-artwork-f28dd5fef287c970f50ca49bc44814ee1e3b229d.tar.gz
|
|
"
|