diff --git a/testing/phosh-wallpapers/APKBUILD b/testing/phosh-wallpapers/APKBUILD new file mode 100644 index 00000000000..88730377103 --- /dev/null +++ b/testing/phosh-wallpapers/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: fossdd +# Maintainer: team/phosh +pkgname=phosh-wallpapers +pkgver=0.41.0 +pkgrel=0 +pkgdesc="Phosh wallpapers and other artwork" +url="https://gitlab.gnome.org/guidog/phosh-wallpapers" +arch="noarch" +license="GPL-3.0-or-later AND CC-BY-SA-4 AND CC0" +makedepends="meson" +subpackages=" + plymouth-theme-phosh:_plymouth + sound-theme-phosh:_sounds +" +source="https://sources.phosh.mobi/releases/phosh-wallpapers/phosh-wallpapers-${pkgver/_/.}.tar.xz" +builddir="$srcdir/$pkgname-${pkgver/_/.}" + +build() { + abuild-meson \ + . output + meson compile -C output +} + +check() { + meson test --no-rebuild --print-errorlogs -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +_plymouth() { + amove usr/share/plymouth/themes/phosh +} + +_sounds() { + amove usr/share/sounds +} + +sha512sums=" +abdcfd3592b04a44f47c8fe24a6a77fca2e6806ce3c00e0549808a718ffbc82d3c813da1963ac7116eeadbf6390638505963f022b743737895a7db6a91f55fc1 phosh-wallpapers-0.41.0.tar.xz +"