aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvirt
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-24 22:03:38 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 08:37:12 +0000
commit6880ba3448fee476192db1bc0f338eb43916fc27 (patch)
treed02e5c5660aa54af309a68f6971d05008862164a /main/libvirt
parent18cf16c5edb33a8f9511df44df3642614244fa16 (diff)
downloadaports-6880ba3448fee476192db1bc0f338eb43916fc27.tar.bz2
aports-6880ba3448fee476192db1bc0f338eb43916fc27.tar.xz
main/libvirt: remove duplicate dependencies, fix indentation
Diffstat (limited to 'main/libvirt')
-rw-r--r--main/libvirt/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index 985c43e5c0..be6a40b462 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -11,12 +11,12 @@ _daemon_deps="bridge-utils dmidecode dnsmasq ebtables ip6tables iptables"
_client_deps="pm-utils gnutls-utils netcat-openbsd"
depends="lvm2"
depends_dev="libtirpc-dev"
-makedepends="augeas-dev bridge-utils cyrus-sasl-dev device-mapper
+makedepends="augeas-dev cyrus-sasl-dev device-mapper
e2fsprogs-dev gnutls-dev libcap-ng-dev libgpg-error-dev
netcf-dev libnl3-dev libxml2-dev libxslt-dev libtasn1-dev
- lvm2-dev lxc-dev gnutls-dev libgcrypt-dev parted-dev perl pkgconfig
+ lvm2-dev lxc-dev libgcrypt-dev parted-dev perl pkgconfig
eudev-dev zlib-dev yajl-dev libpcap-dev curl-dev libpciaccess-dev
- polkit-dev readline-dev dnsmasq linux-headers libssh2-dev jansson-dev
+ polkit-dev readline-dev linux-headers libssh2-dev jansson-dev
$depends_dev perl-xml-xpath
fuse-dev util-linux libxml2-utils bash-completion $_daemon_deps $_client_deps
"
@@ -38,8 +38,6 @@ if [ "$CARCH" = "x86_64" ]; then
fi
subpackages="$subpackages $pkgname-common-drivers:_common_drivers"
-builddir="$srcdir"/$pkgname-$pkgver
-
build() {
cd "$builddir"
# qemu sets libexec dir to /usr/lib/qemu
@@ -124,12 +122,12 @@ static() {
}
bashcomp() {
- depends=""
- pkgdesc="Bash completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
- mkdir -p "$subpkgdir"/usr/share/
- mv "$pkgdir"/usr/share/bash-completion \
- "$subpkgdir"/usr/share/
+ depends=""
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+ mkdir -p "$subpkgdir"/usr/share/
+ mv "$pkgdir"/usr/share/bash-completion \
+ "$subpkgdir"/usr/share/
}
_mv_driver() {