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 | |
parent | 461be5fadb7fbf43c233a70962c6e7fb512b796f (diff) |
libosinfo: remove libre suffix and add complex pkgrel
-rw-r--r-- | libre/libosinfo/PKGBUILD (renamed from libre/libosinfo-libre/PKGBUILD) | 20 | ||||
-rw-r--r-- | libre/libosinfo/libre.patch (renamed from libre/libosinfo-libre/libre.patch) | 0 |
2 files changed, 9 insertions, 11 deletions
diff --git a/libre/libosinfo-libre/PKGBUILD b/libre/libosinfo/PKGBUILD index 27c637bb1..eea40ee0e 100644 --- a/libre/libosinfo-libre/PKGBUILD +++ b/libre/libosinfo/PKGBUILD @@ -4,27 +4,25 @@ # Maintainer: André Silva <emulatorman@parabola.nu> # Contributor: Daniel Milewski <niitotantei@gmail.com> -_pkgname=libosinfo -pkgname=libosinfo-libre +pkgname=libosinfo pkgver=0.2.10 -pkgrel=2 +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') -provides=($_pkgname=$pkgver) -conflicts=($_pkgname) -replaces=($_pkgname) +conflicts=(${pkgname}-libre) +replaces=(${pkgname}-libre) options=('!libtool') -source=(https://fedorahosted.org/releases/l/i/$_pkgname/$_pkgname-$pkgver.tar.gz +source=(https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$pkgver.tar.gz libre.patch) sha256sums=('564bd487a39dc09a10917c1d7a95f739ee7701d9cd0fbabcacea64f615e20a2d' '46d1c192f3730b5b02a52140a8f1abbacd6d41968c29cec9205f0cec77336a17') prepare() { - cd $_pkgname-$pkgver + cd $pkgname-$pkgver rm data/datamaps/windows-lang.xml \ data/hypervisors/rhel-xen.xml{,.in} \ @@ -42,7 +40,7 @@ prepare() { } build() { - cd $_pkgname-$pkgver + cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --enable-udev \ --with-udev-rulesdir=/usr/lib/udev/rules.d \ @@ -52,11 +50,11 @@ build() { } check() { - cd $_pkgname-$pkgver + cd $pkgname-$pkgver make check } package() { - cd $_pkgname-$pkgver + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install } diff --git a/libre/libosinfo-libre/libre.patch b/libre/libosinfo/libre.patch index 50213db8b..50213db8b 100644 --- a/libre/libosinfo-libre/libre.patch +++ b/libre/libosinfo/libre.patch |