2023-06-05 14:33:25 +00:00
|
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=postmarketos-artwork
|
2023-06-05 14:33:25 +00:00
|
|
|
pkgver=3
|
|
|
|
pkgrel=0
|
2019-11-07 23:01:00 +00:00
|
|
|
pkgdesc="Meta package for the postmarketOS artwork"
|
2018-01-09 13:01:27 +00:00
|
|
|
url="https://postmarketos.org/"
|
|
|
|
arch="noarch"
|
2019-11-07 23:01:00 +00:00
|
|
|
license="CC-BY-SA-4.0"
|
2023-06-05 14:33:25 +00:00
|
|
|
_hash="cebafc36eeb73bf135cd977dc6dc490f72876007"
|
2019-11-07 23:01:00 +00:00
|
|
|
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
|
2023-06-05 14:33:25 +00:00
|
|
|
$pkgname-wallpapers-gnome:wallpapers_gnome
|
2019-11-07 23:01:00 +00:00
|
|
|
$pkgname-icons
|
|
|
|
$pkgname-sounds
|
|
|
|
"
|
2018-01-09 13:01:27 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
2019-11-07 23:01:00 +00:00
|
|
|
|
|
|
|
wallpapers() {
|
|
|
|
pkgdesc="Wallpapers for postmarketOS"
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/wallpapers/
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/logo/pmos-grass-square.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos.jpg
|
|
|
|
}
|
|
|
|
|
|
|
|
wallpapers_extra() {
|
|
|
|
pkgdesc="Additional Wallpapers for postmarketOS"
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/wallpapers/
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/extra/* \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/logo/postmarketos.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos-light.jpg
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/logo/logo_dark.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/logo_dark.jpg
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/logo/pmos-grass-800x480.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/pmos-grass-800x480.jpg
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/logo/pmos-grass.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/pmos-grass.jpg
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/logo/pmos.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/pmos.jpg
|
|
|
|
}
|
|
|
|
|
2023-06-05 14:33:25 +00:00
|
|
|
wallpapers_gnome() {
|
|
|
|
pkgdesc="postmarketOS wallpapers for GNOME"
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/gnome/pmos-light.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos-gnome-light.jpg
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/wallpapers/gnome/pmos-dark.jpg \
|
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos-gnome-dark.jpg
|
|
|
|
}
|
|
|
|
|
2019-11-07 23:01:00 +00:00
|
|
|
icons() {
|
|
|
|
pkgdesc="Icons for postmarketOS"
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/logo/logo.svg \
|
2022-01-20 19:42:14 +00:00
|
|
|
"$subpkgdir"/usr/share/pixmaps/postmarketos-logo.svg
|
2019-11-07 23:01:00 +00:00
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/logo/logo-phone.svg \
|
2022-01-20 19:42:14 +00:00
|
|
|
"$subpkgdir"/usr/share/pixmaps/postmarketos-logo-phone.svg
|
2019-11-07 23:01:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sounds() {
|
|
|
|
pkgdesc="Sounds for postmarketOS"
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/tones/battery_low.mid \
|
|
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/tones/no_signal.mid \
|
|
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
|
|
install -Dm644 "$srcdir"/artwork-$_hash/tones/startup.mid \
|
|
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
|
|
}
|
|
|
|
|
2023-06-05 14:33:25 +00:00
|
|
|
sha512sums="
|
|
|
|
f05e7e4c54d295dddd3799f728bbfd7773ecb5677ffb053350096415066533dffd1ddc4188ecf970f0fc3312fcc6cac92dadca54a7139e1bed8224157e963f13 postmarketos-artwork-cebafc36eeb73bf135cd977dc6dc490f72876007.tar.gz
|
|
|
|
"
|