# Maintainer: Natanael Copa setvar pkgname = 'libosinfo' setvar pkgver = '1.0.0' setvar pkgrel = '2' setvar pkgdesc = ""A library for managing OS information for virtualization"" setvar url = ""http://libosinfo.org/"" setvar arch = ""all"" setvar license = ""LGPLv2+"" setvar depends = ""hwdata osinfo-db"" setvar makedepends = ""glib-dev libsoup-dev libxml2-dev libxslt-dev vala intltool gobject-introspection-dev check-dev perl-dev"" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""https://releases.pagure.org/$pkgname/$pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-introspection=yes \ --enable-vala=yes \ --with-usb-ids-path=/usr/share/hwdata/usb.ids \ --with-pci-ids-path=/usr/share/hwdata/pci.ids \ || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } setvar sha512sums = ""962b68b2f6639c70b1ab7377475bbddc99a056075e18d1f281e65188eb8a704b932e7ed26362a36ae805d53137e99b0f8303d18a5a1d7b840fad15eb188ab7d0 libosinfo-1.0.0.tar.gz""