aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-11-10 13:04:30 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-11-10 13:11:35 +0100
commit8e132813499fcc12b076d675d2258625b7074b2e (patch)
tree27996daf938068be746699a447bfce35a0d9abe9
parent0608e059afa4fc6d8cec19be32414ef7374c5928 (diff)
downloadaports-8e132813499fcc12b076d675d2258625b7074b2e.tar.gz
aports-8e132813499fcc12b076d675d2258625b7074b2e.tar.bz2
aports-8e132813499fcc12b076d675d2258625b7074b2e.tar.xz
community/yash: move completions to subpackage -completion
-rw-r--r--community/yash/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/community/yash/APKBUILD b/community/yash/APKBUILD
index c9e15ff30b..1cf22ca625 100644
--- a/community/yash/APKBUILD
+++ b/community/yash/APKBUILD
@@ -7,9 +7,10 @@ pkgdesc="Yet another shell"
url="http://yash.osdn.jp"
arch="all"
license="GPL-2.0-or-later"
+depends="$pkgname-completion"
makedepends="ncurses-dev"
install="$pkgname.post-install $pkgname.pre-deinstall"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-completion::noarch $pkgname-doc"
source="https://github.com/magicant/yash/releases/download/$pkgver/yash-$pkgver.tar.xz"
prepare() {
@@ -44,4 +45,11 @@ package() {
rm -Rf "$pkgdir"/usr/share/man/ja
}
+completion() {
+ pkgdesc="$pkgdesc (command-line completion)"
+ depends=""
+
+ amove usr/share/yash/completion
+}
+
sha512sums="99d98cfbe09aa746f2707217ecb506d8d5998df4a603ac276a8a67782fdcb3a7bd41fb34744f3834e319b0fdb0b1fd480cf9e2a4b835fec3e758280e13036db5 yash-2.49.tar.xz"