aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2021-11-28 21:58:06 +0100
committerMichał Polański <michal@polanski.me>2021-11-28 21:58:06 +0100
commitbcb57577f118f9e5f6fe2a98b861e6249f4cd771 (patch)
treef0400a6a412728409d739346823df12950a22f71
parent8eeef740209e9165968163d7bfc70ca3fb5114be (diff)
downloadaports-bcb57577f118f9e5f6fe2a98b861e6249f4cd771.tar.gz
aports-bcb57577f118f9e5f6fe2a98b861e6249f4cd771.tar.bz2
aports-bcb57577f118f9e5f6fe2a98b861e6249f4cd771.tar.xz
community/sway: split out -wallpapers subpackage
Sway wallpapers are still installed by default, but now you can uninstall them by issuing: apk add '!sway-wallpapers'.
-rw-r--r--community/sway/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/community/sway/APKBUILD b/community/sway/APKBUILD
index 1f8ed65e8b..5104aa8aa5 100644
--- a/community/sway/APKBUILD
+++ b/community/sway/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=sway
pkgver=1.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="i3 compatible window manager for Wayland"
url="https://swaywm.org"
arch="all !ppc64le !mips64" # blocked by wlroots
@@ -31,6 +31,7 @@ makedepends="cairo-dev
subpackages="
$pkgname-dbg
$pkgname-doc
+ $pkgname-wallpapers::noarch
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
@@ -54,6 +55,13 @@ package() {
mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
}
+wallpapers() {
+ pkgdesc="Wallpapers for Sway"
+ install_if="$pkgname=$pkgver-r$pkgrel"
+
+ amove usr/share/backgrounds
+}
+
sha512sums="
7f37fea99970db42c5485277df06d69bef5225fa03d25be179893b14d73c1d681f0355a1bc74091b4173bbccc88994a63ad0f9322e070811ba963648cf68cdeb sway-1.6.1.tar.gz
c9bc08fbd9d059c037ad1e3b7ab5e91bcde27dce248cc558c1f126b01c85b1d0d4ed4bb10e3f27bc818a06e60a81f19478b95529d4eeb32036e2c6ea9f29db36 sway.desktop