aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-06-30 22:55:35 +0000
committerpsykose <alice@ayaya.dev>2023-07-01 00:55:35 +0200
commit8c496d95a37c81174787e98f6c48031ceee31508 (patch)
treef21b64ee9322dd55ae0209697e0683ffd2f9bf80
parent9122d369d111eecc06c1ec05273f79db6b012f0d (diff)
community/bspwm: simplify
-rw-r--r--community/bspwm/APKBUILD43
1 files changed, 8 insertions, 35 deletions
diff --git a/community/bspwm/APKBUILD b/community/bspwm/APKBUILD
index 6f96246304e..15bed7cdb34 100644
--- a/community/bspwm/APKBUILD
+++ b/community/bspwm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=bspwm
pkgver=0.9.10
-pkgrel=3
+pkgrel=4
pkgdesc="Tiling window manager based on binary space partitioning"
url="https://github.com/baskerville/bspwm"
arch="all"
@@ -11,9 +11,10 @@ makedepends="libxcb-dev xcb-util-dev xcb-util-wm-dev xcb-util-keysyms-dev"
options="!check" # Requires connecting to bspwm socket
subpackages="
$pkgname-doc
- $pkgname-zsh-completion:zshcomp:noarch
- $pkgname-bash-completion:bashcomp:noarch
- $pkgname-fish-completion:fishcomp:noarch"
+ $pkgname-zsh-completion
+ $pkgname-bash-completion
+ $pkgname-fish-completion
+ "
source="$pkgname-$pkgver.tar.gz::https://github.com/baskerville/bspwm/archive/$pkgver.tar.gz"
build() {
@@ -24,34 +25,6 @@ package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
-zshcomp() {
- depends=""
- pkgdesc="Zsh completion for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel zsh"
-
- mkdir -p "$subpkgdir"/usr/share/zsh/site-functions
- mv "$pkgdir"/usr/share/zsh/site-functions/* \
- "$subpkgdir"/usr/share/zsh/site-functions
-}
-
-bashcomp() {
- depends=""
- pkgdesc="Bash completion for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
-
- mkdir -p "$subpkgdir"/usr/share/bash-completion/completions/
- mv "$pkgdir"/usr/share/bash-completion/completions/* \
- "$subpkgdir"/usr/share/bash-completion/completions/
-}
-
-fishcomp() {
- depends=""
- pkgdesc="Fish completion for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel fish"
-
- mkdir -p "$subpkgdir"/usr/share/fish/vendor_completions.d/
- mv "$pkgdir"/usr/share/fish/vendor_completions.d/*.fish \
- "$subpkgdir"/usr/share/fish/vendor_completions.d/
-}
-
-sha512sums="9ccb98c4e80635a781b3f889d8c3ae621c0926a79e9607268924b78bd11137caf70ee9a1edf5bc137d362d2acbe2984645f58ba31c586e6b017797758a66f9cf bspwm-0.9.10.tar.gz"
+sha512sums="
+9ccb98c4e80635a781b3f889d8c3ae621c0926a79e9607268924b78bd11137caf70ee9a1edf5bc137d362d2acbe2984645f58ba31c586e6b017797758a66f9cf bspwm-0.9.10.tar.gz
+"