aboutsummaryrefslogtreecommitdiffstats
path: root/community/libvirt-glib/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvirt-glib/APKBUILD')
-rw-r--r--community/libvirt-glib/APKBUILD38
1 files changed, 10 insertions, 28 deletions
diff --git a/community/libvirt-glib/APKBUILD b/community/libvirt-glib/APKBUILD
index a3dfd63180..be3dbb5bd2 100644
--- a/community/libvirt-glib/APKBUILD
+++ b/community/libvirt-glib/APKBUILD
@@ -1,32 +1,20 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libvirt-glib
-pkgver=0.2.3
+pkgver=1.0.0
pkgrel=0
pkgdesc="libvirt glib integration for events"
url="http://libvirt.org/"
arch="all"
license="LGPLv2+"
depends=""
-depends_dev="glib-dev libxml2-dev libvirt-dev"
-makedepends="$depends_dev intltool gobject-introspection-dev python2-dev
- vala sed"
-install=""
-subpackages="$pkgname-dev $pkgname-doc py-$pkgname:_py"
+makedepends="gobject-introspection-dev libvirt-dev
+libxml2-dev vala sed intltool"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://libvirt.org/sources/glib/libvirt-glib-$pkgver.tar.gz"
-
-_builddir="$srcdir"/libvirt-glib-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/libvirt-glib-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -44,16 +32,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-_py() {
- pkgdesc="Python library for $pkgname"
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
-}
-
-md5sums="a19c9b644dd5f2b9e3e1a4a21f34e2e0 libvirt-glib-0.2.3.tar.gz"
-sha256sums="c3b11aa34584b3416148b36bb005505e461830c73c9fd2f40143cca3309250dd libvirt-glib-0.2.3.tar.gz"
-sha512sums="007e642724658e7f2d4ad10094e70a93186196467140662d5e71644ae8efac25a7f60dcf51b55b60d056d3079ecf0798428e077cb6110292ce5f2a474db9e369 libvirt-glib-0.2.3.tar.gz"
+md5sums="cb1332e97c175606306fe8966f8243af libvirt-glib-1.0.0.tar.gz"
+sha256sums="ca9158d01cc4d9e0218f94f8c9ee04ae367d8c3b4396daaebca2c4b89a2e8a47 libvirt-glib-1.0.0.tar.gz"
+sha512sums="72f53a90d3e40aa93d4afe5b29f631afe859532fbdb4e27086da3bd4cdaf0fb25fc808a82a1994b7c2648a1e864876ce95de28acb3b4876dac47b0f4d1c97ba5 libvirt-glib-1.0.0.tar.gz"