diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-04-13 08:37:36 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-13 08:37:36 -0300 |
commit | fdbe69970feddd15c3096d93cc91f9093b18e53c (patch) | |
tree | 837002c177fd65146413fdbf5e1ba7cad3f0aab4 /community/virt-manager | |
parent | 0895a1973f6768e397eea7d2174bf4f28a50d1fd (diff) | |
download | aports-fdbe69970feddd15c3096d93cc91f9093b18e53c.tar.bz2 aports-fdbe69970feddd15c3096d93cc91f9093b18e53c.tar.xz |
community/virt-manager: add bash-completion subpackage
Diffstat (limited to 'community/virt-manager')
-rw-r--r-- | community/virt-manager/APKBUILD | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/community/virt-manager/APKBUILD b/community/virt-manager/APKBUILD index 94b1aa76ee..ad10c0bcc4 100644 --- a/community/virt-manager/APKBUILD +++ b/community/virt-manager/APKBUILD @@ -1,17 +1,23 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=virt-manager pkgver=2.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="GUI for managing virtual machines" url="https://virt-manager.org/" arch="noarch !s390x !mips !mips64" license="GPL-2.0-or-later" -depends="python3 $pkgname-common spice-gtk vte3 py3-cairo gtk-vnc>=0.5.2-r2 gtksourceview4" -_common_deps="libvirt-glib py3-libxml2 py3-libvirt py3-gobject3 py3-requests libosinfo" +depends="python3 $pkgname-common spice-gtk vte3 py3-cairo gtk-vnc>=0.5.2-r2 + gtksourceview4" +_common_deps="libvirt-glib py3-libxml2 py3-libvirt py3-gobject3 py3-requests + libosinfo" makedepends="intltool glib" -subpackages="$pkgname-doc $pkgname-lang +subpackages=" + $pkgname-doc + $pkgname-lang $pkgname-common - virt-install:virt_install" + virt-install:virt_install + $pkgname-bash-completion:bashcomp:noarch + " source="https://releases.pagure.org/virt-manager/virt-manager-$pkgver.tar.gz" # secfixes: @@ -55,4 +61,12 @@ virt_install() { "$subpkgdir"/usr/bin/ } +bashcomp() { + depends="" + pkgdesk="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + + amove usr/share/bash-completion/completions +} + sha512sums="aa97af52b3552c087beab8701762c21e8e6d818c9787d5376ed4e1ae40a34d5e8870c4c00fda9cb17a2340d1dff5b17e853182df720cdd9ea4c91cf01502a33a virt-manager-2.2.1.tar.gz" |