summaryrefslogtreecommitdiff
path: root/community/libosinfo/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-17 03:23:13 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-17 03:23:13 +0000
commitd9e3d7066ad07c8dd884792dd90fecb9f5971ab2 (patch)
tree576dd0e595b65810f7f19ae8b9e9617a52831dec /community/libosinfo/PKGBUILD
parentc78a18750fc2b9df6ea94089159f4176a1f9198d (diff)
Thu Apr 17 03:20:20 UTC 2014
Diffstat (limited to 'community/libosinfo/PKGBUILD')
-rw-r--r--community/libosinfo/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/libosinfo/PKGBUILD b/community/libosinfo/PKGBUILD
new file mode 100644
index 000000000..89f6da3cc
--- /dev/null
+++ b/community/libosinfo/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 109558 2014-04-15 23:25:50Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Stefano Facchini <stefano.facchini@gmail.com>
+
+pkgname=libosinfo
+pkgver=0.2.10
+pkgrel=2
+pkgdesc="GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support"
+arch=('i686' 'x86_64')
+url="http://libosinfo.org/"
+license=('GPL' 'LGPL')
+depends=('glib2' 'libxslt')
+makedepends=('check' 'gobject-introspection' 'intltool' 'libsoup' 'vala')
+options=('!libtool')
+source=(https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('564bd487a39dc09a10917c1d7a95f739ee7701d9cd0fbabcacea64f615e20a2d')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --enable-udev \
+ --with-udev-rulesdir=/usr/lib/udev/rules.d \
+ --with-usb-ids-path=/usr/share/hwdata/usb.ids \
+ --with-pci-ids-path=/usr/share/hwdata/pci.ids
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}