aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrassy Boykinov <kboykinov@teamcentrixx.com>2023-10-09 23:15:03 +0200
committerPatrycja Rosa <alpine@ptrcnull.me>2023-10-18 15:50:59 +0000
commit8371a8a178db269fafe73484ade1d234a02308e7 (patch)
tree459824485705798c02ed66ec03cc24c0be6131dc
parentfc5b095f168d62b03011a3e1250d15e45c875876 (diff)
main/libxkbcommon: add xkbcli-bash-completion subpackage
-rw-r--r--main/libxkbcommon/APKBUILD17
1 files changed, 16 insertions, 1 deletions
diff --git a/main/libxkbcommon/APKBUILD b/main/libxkbcommon/APKBUILD
index 8a62c58fe03..bbb33275309 100644
--- a/main/libxkbcommon/APKBUILD
+++ b/main/libxkbcommon/APKBUILD
@@ -19,7 +19,14 @@ makedepends="
xkeyboard-config-dev
"
checkdepends="bash"
-subpackages="$pkgname-static $pkgname-dev $pkgname-x11 xkbcli xkbcli-doc"
+subpackages="
+ $pkgname-static
+ $pkgname-dev
+ $pkgname-x11
+ xkbcli
+ xkbcli-doc
+ xkbcli-bash-completion
+ "
source="https://xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz"
build() {
@@ -53,6 +60,14 @@ xkbcli() {
amove usr/libexec/xkbcommon/xkbcli*
}
+bashcomp() {
+ default_bashcomp
+
+ pkgdesc="Bash completions for xkbcli"
+ install_if="xkbcli=$pkgver-r$pkgrel bash-completion"
+}
+
+
sha512sums="
4f93225eada1c5d0806bbc01f72d82d72729f4580ade963ff6a386711c9b2232aae5213c8488abf01c3b81f0e1fdb7f4d8a4d3786113ccc134251ff164c4be5c libxkbcommon-1.6.0.tar.xz
"