diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-05 00:45:42 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-05 00:45:42 -0300 |
commit | daabe3e550b037f209008c5313eb6bd468402b92 (patch) | |
tree | c7dd975f2186100328d3cee5aada99e06b8751c8 /libre/libosinfo/PKGBUILD | |
parent | 461be5fadb7fbf43c233a70962c6e7fb512b796f (diff) | |
download | abslibre-daabe3e550b037f209008c5313eb6bd468402b92.tar.gz abslibre-daabe3e550b037f209008c5313eb6bd468402b92.tar.bz2 abslibre-daabe3e550b037f209008c5313eb6bd468402b92.zip |
libosinfo: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/libosinfo/PKGBUILD')
-rw-r--r-- | libre/libosinfo/PKGBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/libre/libosinfo/PKGBUILD b/libre/libosinfo/PKGBUILD new file mode 100644 index 000000000..eea40ee0e --- /dev/null +++ b/libre/libosinfo/PKGBUILD @@ -0,0 +1,60 @@ +# $Id: PKGBUILD 109557 2014-04-15 23:23:01Z bgyorgy $ +# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com> +# Contributor (Arch): Stefano Facchini <stefano.facchini@gmail.com> +# Maintainer: André Silva <emulatorman@parabola.nu> +# Contributor: Daniel Milewski <niitotantei@gmail.com> + +pkgname=libosinfo +pkgver=0.2.10 +pkgrel=2.parabola1 +pkgdesc="GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support, without support for nonfree systems" +arch=('i686' 'x86_64' 'mips64el') +url="http://libosinfo.org/" +license=('GPL' 'LGPL') +depends=('glib2' 'libxslt') +makedepends=('check' 'gobject-introspection' 'intltool' 'libsoup' 'vala') +conflicts=(${pkgname}-libre) +replaces=(${pkgname}-libre) +options=('!libtool') +source=(https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$pkgver.tar.gz + libre.patch) +sha256sums=('564bd487a39dc09a10917c1d7a95f739ee7701d9cd0fbabcacea64f615e20a2d' + '46d1c192f3730b5b02a52140a8f1abbacd6d41968c29cec9205f0cec77336a17') + +prepare() { + cd $pkgname-$pkgver + + rm data/datamaps/windows-lang.xml \ + data/hypervisors/rhel-xen.xml{,.in} \ + data/install-scripts/*.xml \ + data/oses/*.xml{,.in} + rm -r test/isodata/* + + patch -Np1 -i ../libre.patch + + cd po + for file in *.po; do + intltool-update ${file%.*} + msgattrib --no-obsolete -o $file $file + done +} + +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 +} |