summaryrefslogtreecommitdiff
path: root/user/adelie-wallpapers/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-03 07:49:00 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-07 20:49:37 -0600
commitf57d46a7f11227f2218d588566d044f2de00ecc5 (patch)
treed91c7ac4dac37dfa5e0caccac7fe167d1bf0bfba /user/adelie-wallpapers/APKBUILD
parent408e1888fb8e23a977c00705172ab40d7fd131d9 (diff)
downloadpackages-f57d46a7f11227f2218d588566d044f2de00ecc5.tar.gz
packages-f57d46a7f11227f2218d588566d044f2de00ecc5.tar.bz2
packages-f57d46a7f11227f2218d588566d044f2de00ecc5.tar.xz
packages-f57d46a7f11227f2218d588566d044f2de00ecc5.zip
user/adelie-wallpapers: Update to 1.1
Closes: #1119
Diffstat (limited to 'user/adelie-wallpapers/APKBUILD')
-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"