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-12-09 17:58:53 +00:00
|
|
|
pkgver=4
|
|
|
|
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-12-09 17:58:53 +00:00
|
|
|
_hash="9657eb69b2918e83bf0eb06170cc173b84727cb5"
|
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"
|
2023-12-09 17:57:10 +00:00
|
|
|
builddir="$srcdir"/artwork-$_hash
|
2018-01-09 13:01:27 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
2019-11-07 23:01:00 +00:00
|
|
|
|
|
|
|
wallpapers() {
|
|
|
|
pkgdesc="Wallpapers for postmarketOS"
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/wallpapers/
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos-grass-square.jpg \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos.jpg
|
2023-12-09 17:58:53 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos-grass.xml \
|
|
|
|
"$subpkgdir"/usr/share/gnome-background-properties/postmarketos-grass.xml
|
2019-11-07 23:01:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
wallpapers_extra() {
|
|
|
|
pkgdesc="Additional Wallpapers for postmarketOS"
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/wallpapers/
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/extra/* \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/logo/postmarketos.jpg \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos-light.jpg
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/logo/logo_dark.jpg \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/logo_dark.jpg
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos-grass-800x480.jpg \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/pmos-grass-800x480.jpg
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos-grass.jpg \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/pmos-grass.jpg
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/logo/pmos.jpg \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/pmos.jpg
|
|
|
|
}
|
|
|
|
|
2023-06-05 14:33:25 +00:00
|
|
|
wallpapers_gnome() {
|
|
|
|
pkgdesc="postmarketOS wallpapers for GNOME"
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/gnome/pmos-light.jpg \
|
2023-06-05 14:33:25 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos-gnome-light.jpg
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/gnome/pmos-dark.jpg \
|
2023-06-05 14:33:25 +00:00
|
|
|
"$subpkgdir"/usr/share/wallpapers/postmarketos-gnome-dark.jpg
|
2023-12-09 17:58:53 +00:00
|
|
|
install -Dm644 "$builddir"/wallpapers/gnome/pmos.xml \
|
|
|
|
"$subpkgdir"/usr/share/gnome-background-properties/postmarketos-gnome.xml
|
2023-06-05 14:33:25 +00:00
|
|
|
}
|
|
|
|
|
2019-11-07 23:01:00 +00:00
|
|
|
icons() {
|
|
|
|
pkgdesc="Icons for postmarketOS"
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/logo/logo.svg \
|
2022-01-20 19:42:14 +00:00
|
|
|
"$subpkgdir"/usr/share/pixmaps/postmarketos-logo.svg
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/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/
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/tones/battery_low.mid \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/tones/no_signal.mid \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
2023-12-09 17:57:10 +00:00
|
|
|
install -Dm644 "$builddir"/tones/startup.mid \
|
2019-11-07 23:01:00 +00:00
|
|
|
"$subpkgdir"/usr/share/sounds/postmarketOS/
|
|
|
|
}
|
|
|
|
|
2023-06-05 14:33:25 +00:00
|
|
|
sha512sums="
|
2023-12-09 17:58:53 +00:00
|
|
|
17cc39e6ed3e95d9e50c257d9fced448d10f872dc69e0913f2295b1ac679ac3d8d0d5a7aba7b4f99500adedbdc0565944f2d8201ec966568d0db1d16bfffbaa0 postmarketos-artwork-9657eb69b2918e83bf0eb06170cc173b84727cb5.tar.gz
|
2023-06-05 14:33:25 +00:00
|
|
|
"
|