aboutsummaryrefslogtreecommitdiffstats
path: root/community/libosinfo
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 13:36:41 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 13:36:41 +0000
commitf3036ea7ab3138fdb5d564b5ead27084ac609767 (patch)
treedc0836a9f07ca3ba110fd91848d1bac33f705d28 /community/libosinfo
parent22997da3a6bc6798639405036a6fa9c49cbe79a4 (diff)
downloadaports-f3036ea7ab3138fdb5d564b5ead27084ac609767.tar.bz2
aports-f3036ea7ab3138fdb5d564b5ead27084ac609767.tar.xz
community/libosinfo: upgrade to 1.0.0, changed source url due to fedorahosted.org close
Diffstat (limited to 'community/libosinfo')
-rw-r--r--community/libosinfo/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/community/libosinfo/APKBUILD b/community/libosinfo/APKBUILD
index ffab814d65..c108150340 100644
--- a/community/libosinfo/APKBUILD
+++ b/community/libosinfo/APKBUILD
@@ -1,32 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libosinfo
-pkgver=0.3.0
+pkgver=1.0.0
pkgrel=0
pkgdesc="A library for managing OS information for virtualization"
url="http://libosinfo.org/"
arch="all"
license="LGPLv2+"
depends="hwdata"
-depends_dev="glib-dev"
-makedepends="$depends_dev libsoup-dev libxml2-dev libxslt-dev vala intltool
- gobject-introspection-dev check-dev"
-install=""
+makedepends="glib-dev libsoup-dev libxml2-dev libxslt-dev vala intltool
+ gobject-introspection-dev check-dev perl-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-$pkgver.tar.gz"
+source="https://releases.pagure.org/$pkgname/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/libosinfo-$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"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -44,10 +33,8 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="34dc0de14a0ebf08de4110a172e9d569 libosinfo-0.3.0.tar.gz"
-sha256sums="538a3468792e919edf5364fe102d751353ae600a92ad3a24f024424a182cefbc libosinfo-0.3.0.tar.gz"
-sha512sums="c935fcc74c76e3f7a5617ebffcd775fd15c4687cb84667cd944c99e8024a92b8997a8640afe690acdd6a769442a957cadb32c7ea9c44aa82181f8cf8a40e64e2 libosinfo-0.3.0.tar.gz"
+sha512sums="962b68b2f6639c70b1ab7377475bbddc99a056075e18d1f281e65188eb8a704b932e7ed26362a36ae805d53137e99b0f8303d18a5a1d7b840fad15eb188ab7d0 libosinfo-1.0.0.tar.gz"