Commit f3036ea7 authored by Francesco Colista's avatar Francesco Colista

community/libosinfo: upgrade to 1.0.0, changed source url due to fedorahosted.org close

parent 22997da3
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment