summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/adelie-wallpapers/APKBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/user/adelie-wallpapers/APKBUILD b/user/adelie-wallpapers/APKBUILD
index 5462ef837..bbb0e8e11 100644
--- a/user/adelie-wallpapers/APKBUILD
+++ b/user/adelie-wallpapers/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=adelie-wallpapers
-pkgver=1.0
+pkgver=1.1
pkgrel=0
pkgdesc="Wallpapers from the Adélie Linux team"
url="https://www.adelielinux.org/"
@@ -10,7 +10,7 @@ options="!check" # No test suite.
license="CC-BY-SA-4.0"
depends=""
makedepends=""
-subpackages=""
+subpackages="$pkgname-core"
source="https://distfiles.adelielinux.org/source/adelie-wallpapers-$pkgver.tar.xz"
package() {
@@ -18,4 +18,15 @@ package() {
mv "$builddir"/usr "$pkgdir"/
}
-sha512sums="3815145eaf92524eb848ec179cefecd66b43873a9f17133b62baf2ce894d7f629585f6670e5e499d7d5779377c1819627256d7812bb4318b0bfd68466c9b1cff adelie-wallpapers-1.0.tar.xz"
+core() {
+ provides="$pkgname=$pkgver-r$pkgrel"
+ description="Base wallpapers needed for minimal desktop environments"
+
+ mkdir -p "$subpkgdir"/usr/share/wallpapers
+ for wallpaper in background lockscreen; do
+ cp -r "$pkgdir"/usr/share/wallpapers/$wallpaper \
+ "$subpkgdir"/usr/share/wallpapers/
+ done
+}
+
+sha512sums="0b8dbcce13bdd7b4e4f4b62a6cb085c238f05ecf220998b42afc16baf18754722f75dc02d61f0157a1e0b0d9a961af6bc1c5a844fbe0a6f9df0511d38ebfb65d adelie-wallpapers-1.1.tar.xz"