Date: Thursday, March 31, 2016 @ 17:05:52 Author: heftig Revision: 263675
archrelease: copy trunk to testing-i686, testing-x86_64 Added: appstream-glib/repos/testing-i686/ appstream-glib/repos/testing-i686/PKGBUILD (from rev 263674, appstream-glib/trunk/PKGBUILD) appstream-glib/repos/testing-x86_64/ appstream-glib/repos/testing-x86_64/PKGBUILD (from rev 263674, appstream-glib/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) Copied: appstream-glib/repos/testing-i686/PKGBUILD (from rev 263674, appstream-glib/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-03-31 15:05:52 UTC (rev 263675) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=appstream-glib +pkgver=0.5.12 +pkgrel=1 +pkgdesc="Provides GObjects and helper methods to make it easy to read and write AppStream metadata" +arch=('i686' 'x86_64') +url="http://people.freedesktop.org/~hughsient/appstream-glib/" +license=('LGPL') +depends=('gtk3' 'libyaml' 'pacman' 'gcab') +makedepends=('intltool') +provides=('appdata-tools') +conflicts=('appdata-tools') +replaces=('appdata-tools') +source=(http://people.freedesktop.org/~hughsient/appstream-glib/releases/$pkgname-$pkgver.tar.xz) +md5sums=('aea1cf59acbb86ee93589fde5172e22f') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --enable-alpm + + #https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd $pkgname-$pkgver + make -k check || : +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Copied: appstream-glib/repos/testing-x86_64/PKGBUILD (from rev 263674, appstream-glib/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-03-31 15:05:52 UTC (rev 263675) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=appstream-glib +pkgver=0.5.12 +pkgrel=1 +pkgdesc="Provides GObjects and helper methods to make it easy to read and write AppStream metadata" +arch=('i686' 'x86_64') +url="http://people.freedesktop.org/~hughsient/appstream-glib/" +license=('LGPL') +depends=('gtk3' 'libyaml' 'pacman' 'gcab') +makedepends=('intltool') +provides=('appdata-tools') +conflicts=('appdata-tools') +replaces=('appdata-tools') +source=(http://people.freedesktop.org/~hughsient/appstream-glib/releases/$pkgname-$pkgver.tar.xz) +md5sums=('aea1cf59acbb86ee93589fde5172e22f') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --enable-alpm + + #https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd $pkgname-$pkgver + make -k check || : +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}