aboutsummaryrefslogtreecommitdiffstats
path: root/community/networkmanager
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-26 07:37:42 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-26 07:55:16 -0300
commit66ef7487b4075d61346e1b72f1b0c8161202c6bf (patch)
tree0c2936e7d4fa12d09ea7c29a36fb3f857ae0b75f /community/networkmanager
parent025742d4038d8c959551849a31b12ee7295f8efd (diff)
downloadaports-66ef7487b4075d61346e1b72f1b0c8161202c6bf.tar.bz2
aports-66ef7487b4075d61346e1b72f1b0c8161202c6bf.tar.xz
community/networkmanager: split bash-completion
Diffstat (limited to 'community/networkmanager')
-rw-r--r--community/networkmanager/APKBUILD18
1 files changed, 16 insertions, 2 deletions
diff --git a/community/networkmanager/APKBUILD b/community/networkmanager/APKBUILD
index 506c5bdb13..21dcb4d3c7 100644
--- a/community/networkmanager/APKBUILD
+++ b/community/networkmanager/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=networkmanager
pkgver=1.22.8
-pkgrel=0
+pkgrel=1
pkgdesc="Network Management daemon"
url="https://wiki.gnome.org/Projects/NetworkManager"
arch="all"
@@ -36,7 +36,13 @@ makedepends="$depends_dev
libpsl-dev
python3
"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-openrc"
+subpackages="
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-lang
+ $pkgname-openrc
+ $pkgname-bash-completion:bashcomp:noarch
+ "
source="https://download.gnome.org/sources/NetworkManager/${pkgver:0:4}/NetworkManager-$pkgver.tar.xz
$pkgname.conf
$pkgname.initd
@@ -108,6 +114,14 @@ wifi.backend=iwd
EOF
}
+bashcomp() {
+ depends=""
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+ amove usr/share/bash-completion
+}
+
sha512sums="3533f6d0cfb2723078aece287101feda0d4f65a1f0160ae17dd77142ca5e126a0f27f5904c2e2c4dcdf9433dacc3990e1bf366f14e67b94fa1cd3006dd6b3a4c NetworkManager-1.22.8.tar.xz
a6e507260e2ceffad4cacb2b49a1d4f6b933e5ae8bc50c1bd56f828298c5dc8d9d17aa4be766faeacefbe3c6c0c748e4ef499a55bb5ee40f0f04bbf766fbbc82 networkmanager.conf
5ac6d11b588c479de9c7e1fef79ed0a2c04dc159a2173636a6a77a2867c839cc1609860756109e9e794f23a02238a6d94834d8fb6fcb81a6be3ef1dbf4a34e6f networkmanager.initd