[arch-commits] Commit in appstream-glib/repos (4 files)
Jan Steffens
heftig at archlinux.org
Wed Apr 5 18:07:23 UTC 2017
Date: Wednesday, April 5, 2017 @ 18:07:22
Author: heftig
Revision: 292177
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
appstream-glib/repos/gnome-unstable-i686/
appstream-glib/repos/gnome-unstable-i686/PKGBUILD
(from rev 292176, appstream-glib/trunk/PKGBUILD)
appstream-glib/repos/gnome-unstable-x86_64/
appstream-glib/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 292176, appstream-glib/trunk/PKGBUILD)
--------------------------------+
gnome-unstable-i686/PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
Copied: appstream-glib/repos/gnome-unstable-i686/PKGBUILD (from rev 292176, appstream-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2017-04-05 18:07:22 UTC (rev 292177)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=appstream-glib
+pkgver=0.6.11
+pkgrel=1
+pkgdesc="Objects and methods for reading and writing AppStream metadata"
+url="https://people.freedesktop.org/~hughsient/appstream-glib/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(gtk3 libyaml pacman gcab libsoup libstemmer)
+makedepends=(intltool gobject-introspection gtk-doc autoconf-archive git
+ gperf)
+provides=(appdata-tools)
+conflicts=(appdata-tools)
+replaces=(appdata-tools)
+_commit=093f296a9f8d8c58f5ea8ff2d117dd1efe19a9be # tags/appstream_glib_0_6_11^0
+source=("git+https://github.com/hughsie/appstream-glib#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^appstream_glib_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --enable-alpm --enable-stemmer --enable-gtk-doc
+
+ # 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
+ make -k check || :
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: appstream-glib/repos/gnome-unstable-x86_64/PKGBUILD (from rev 292176, appstream-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2017-04-05 18:07:22 UTC (rev 292177)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=appstream-glib
+pkgver=0.6.11
+pkgrel=1
+pkgdesc="Objects and methods for reading and writing AppStream metadata"
+url="https://people.freedesktop.org/~hughsient/appstream-glib/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(gtk3 libyaml pacman gcab libsoup libstemmer)
+makedepends=(intltool gobject-introspection gtk-doc autoconf-archive git
+ gperf)
+provides=(appdata-tools)
+conflicts=(appdata-tools)
+replaces=(appdata-tools)
+_commit=093f296a9f8d8c58f5ea8ff2d117dd1efe19a9be # tags/appstream_glib_0_6_11^0
+source=("git+https://github.com/hughsie/appstream-glib#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^appstream_glib_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --enable-alpm --enable-stemmer --enable-gtk-doc
+
+ # 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
+ make -k check || :
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list