aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-11 21:19:11 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-11 21:31:52 +0200
commit83056c8edefcc811f798dda49546d4c3711b922b (patch)
tree2655a6e6658c4a831e23c5cf6d855d5cf7c315f6
parent2be26b16f245e034319939169d82b565595ea706 (diff)
downloadaports-83056c8edefcc811f798dda49546d4c3711b922b.tar.bz2
aports-83056c8edefcc811f798dda49546d4c3711b922b.tar.xz
community/libvirt-glib: add missing libvirt-dev to depends_dev
* Cleanup APKBUILD * run tests
-rw-r--r--community/libvirt-glib/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/community/libvirt-glib/APKBUILD b/community/libvirt-glib/APKBUILD
index 1e05c89463..c3f731b279 100644
--- a/community/libvirt-glib/APKBUILD
+++ b/community/libvirt-glib/APKBUILD
@@ -1,20 +1,19 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libvirt-glib
pkgver=2.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="libvirt glib integration for events"
-url="http://libvirt.org/"
+url="https://libvirt.org/"
arch="all"
license="LGPL-2.0-or-later"
-depends=""
-makedepends="gobject-introspection-dev libvirt-dev
+depends_dev="libvirt-dev"
+makedepends="$depends_dev gobject-introspection-dev
libxml2-dev vala sed intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://libvirt.org/sources/glib/libvirt-glib-$pkgver.tar.gz"
-builddir="$srcdir"/libvirt-glib-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,18 +21,20 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
+ --localstatedir=/var
# work around parallel build issue
make -C libvirt-glib \
&& make -C libvirt-gconfig \
- && make -C libvirt-gobject || return 1
- make || return 1
+ && make -C libvirt-gobject
+ make
+}
+
+check() {
+ make check
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="6ead4c37c314eb5670c5aa282ce039a0182a71a20b349a5d9c78367381eb674fad0f2ca0f2e20e1e89ff7df2ac9f1640f20fdfa63d599d8a2538fb4c0fba4c3f libvirt-glib-2.0.0.tar.gz"