aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-26 07:17:27 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-26 07:31:32 -0300
commit075df0bacb2a1146a130b0e421f07479380921fa (patch)
tree4663f26fcbba54607950e761611a79ee6aab2ba8
parentd2f0478b0615b8eebf628041abcfbb55728d613b (diff)
downloadaports-075df0bacb2a1146a130b0e421f07479380921fa.tar.bz2
aports-075df0bacb2a1146a130b0e421f07479380921fa.tar.xz
community/ostree: split bash-completion
-rw-r--r--community/ostree/APKBUILD17
1 files changed, 15 insertions, 2 deletions
diff --git a/community/ostree/APKBUILD b/community/ostree/APKBUILD
index d185fe074a..8b96bd02a1 100644
--- a/community/ostree/APKBUILD
+++ b/community/ostree/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=ostree
pkgver=2020.2
-pkgrel=0
+pkgrel=1
pkgdesc="Operating system and container binary deployment and upgrades"
url="https://github.com/ostreedev/ostree"
arch="all"
@@ -10,7 +10,12 @@ license="LGPL-2.0-or-later"
makedepends="bison glib-dev xz-dev libarchive-dev e2fsprogs-dev
libsoup-dev gpgme-dev fuse-dev linux-headers gtk-doc libxslt
automake autoconf libtool"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
+subpackages="
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-dbg
+ $pkgname-bash-completion:bashcomp:noarch
+ "
source="https://github.com/ostreedev/ostree/releases/download/v$pkgver/libostree-$pkgver.tar.xz
musl-fixes.patch
"
@@ -41,5 +46,13 @@ package() {
make DESTDIR="$pkgdir" install
}
+bashcomp() {
+ depends=""
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+ amove usr/share/bash-completion
+}
+
sha512sums="9c0010c9b572d56de224305a79700cd14b0693d515a2f21d64b0535fc45c0407bde7267b023fc4bd4d7a5c872520736d273278ac8fa9117c259678f055078792 libostree-2020.2.tar.xz
affde3a0a1c27066c2fcc30212343274de9b3856e913adc340afa4fbfb6398732c4c39dee52837459a77273015aec4e98ea61c2b5e3e884b795462485657933c musl-fixes.patch"