summaryrefslogtreecommitdiff
path: root/user/adelie-wallpapers/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/adelie-wallpapers/APKBUILD')
-rw-r--r--user/adelie-wallpapers/APKBUILD31
1 files changed, 26 insertions, 5 deletions
diff --git a/user/adelie-wallpapers/APKBUILD b/user/adelie-wallpapers/APKBUILD
index dc66e9e5f..e6b4ac45f 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,13 +10,34 @@ 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() {
- cd "$builddir"
mkdir -p "$pkgdir"
- cp -r usr "$pkgdir"/
+ mv "$builddir"/usr "$pkgdir"/
+
+ # For MATE/XFCE
+ mkdir "$pkgdir"/usr/share/backgrounds/
+ ln -s ../wallpapers/background/contents/images/1280x1024.png \
+ "$pkgdir"/usr/share/backgrounds/background.png
+ ln -s ../wallpapers/background/contents/images/1920x1080.png \
+ "$pkgdir"/usr/share/backgrounds/background-wide.png
+ ln -s ../wallpapers/lockscreen/contents/images/1280x1024.png \
+ "$pkgdir"/usr/share/backgrounds/lockscreen.png
+ ln -s ../wallpapers/lockscreen/contents/images/1920x1080.png \
+ "$pkgdir"/usr/share/backgrounds/lockscreen-wide.png
+}
+
+core() {
+ provides="$pkgname=1"
+ 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="3815145eaf92524eb848ec179cefecd66b43873a9f17133b62baf2ce894d7f629585f6670e5e499d7d5779377c1819627256d7812bb4318b0bfd68466c9b1cff adelie-wallpapers-1.0.tar.xz"
+sha512sums="9ea239bd2ab1c53274a63f159b572c682b72ddb31f02ec30d5afe43e935fa0128fc61e4497d2c76c8d70dc2cd5fc53d0c0b04aa6ab744bb954addc10dcaff981 adelie-wallpapers-1.1.tar.xz"