[arch-commits] Commit in appstream-glib/repos (4 files)
Jan Steffens
heftig at archlinux.org
Mon Sep 28 19:55:44 UTC 2015
Date: Monday, September 28, 2015 @ 21:55:44
Author: heftig
Revision: 247848
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
appstream-glib/repos/staging-i686/
appstream-glib/repos/staging-i686/PKGBUILD
(from rev 247847, appstream-glib/trunk/PKGBUILD)
appstream-glib/repos/staging-x86_64/
appstream-glib/repos/staging-x86_64/PKGBUILD
(from rev 247847, appstream-glib/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
Copied: appstream-glib/repos/staging-i686/PKGBUILD (from rev 247847, appstream-glib/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-28 19:55:44 UTC (rev 247848)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=appstream-glib
+pkgver=0.5.1
+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=('51584924fb0d33254433ef495348b58e')
+
+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/staging-x86_64/PKGBUILD (from rev 247847, appstream-glib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-28 19:55:44 UTC (rev 247848)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=appstream-glib
+pkgver=0.5.1
+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=('51584924fb0d33254433ef495348b58e')
+
+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
+}
More information about the arch-commits
mailing list