diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 07:21:27 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 07:31:32 -0300 |
commit | 11db755c78d6d5362d31d7db76047b3b1362a7ba (patch) | |
tree | 7559b95ee122d99e9d6178d7d668ccccf50c3d7e /community/ibus/APKBUILD | |
parent | 5d6650c822f30909b431f03124bedb7432b1194d (diff) | |
download | aports-11db755c78d6d5362d31d7db76047b3b1362a7ba.tar.bz2 aports-11db755c78d6d5362d31d7db76047b3b1362a7ba.tar.xz |
community/ibus: split bash-completion
Diffstat (limited to 'community/ibus/APKBUILD')
-rw-r--r-- | community/ibus/APKBUILD | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/community/ibus/APKBUILD b/community/ibus/APKBUILD index a3158386aa..685e3afe6b 100644 --- a/community/ibus/APKBUILD +++ b/community/ibus/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Drew DeVault <sir@cmpwn.com> pkgname=ibus pkgver=1.5.22 -pkgrel=0 +pkgrel=1 pkgdesc="Next Generation Input Bus for Linux" url="https://github.com/ibus/ibus/wiki" arch="all !s390x" # librsvg @@ -15,7 +15,13 @@ makedepends=" automake autoconf gnome-common gtk-doc wayland-dev wayland-protocols dbus-x11 unicode-character-database xz unicode-emoji cldr-emoji-annotation " -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-emoji" +subpackages=" + $pkgname-dev + $pkgname-doc + $pkgname-lang + $pkgname-emoji + $pkgname-bash-completion:bashcomp:noarch + " source=" $pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus/archive/$pkgver.tar.gz 0001-Use-more-portable-call-to-mktemp.patch @@ -58,5 +64,13 @@ emoji() { mv "$pkgdir"/usr/share/ibus/dicts "$subpkgdir"/usr/share/ibus } +bashcomp() { + depends="" + pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + + amove usr/share/bash-completion +} + sha512sums="972da51eb5702692f13b4f4cff51b3765890e5a91f936b9fa6b6cafaf00f4d078dc39f14bd00f3883203d295d826647c509024dd197d726d4def8d13d45d71b4 ibus-1.5.22.tar.gz 1e2e62ce52becf75d794c403e8f21bb72e8406aacbdbc5189f62a3b7c54166c40da0032d3f3865f5a23d9d2c782f974b7bcc9ba5ce437d9eb435dd3db3ff0b06 0001-Use-more-portable-call-to-mktemp.patch" |