[arch-commits] Commit in appstream-glib/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Feb 6 02:43:17 UTC 2015


    Date: Friday, February 6, 2015 @ 03:43:17
  Author: heftig
Revision: 230887

fixes for 0.3.4

Modified:
  appstream-glib/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-05 23:06:51 UTC (rev 230886)
+++ PKGBUILD	2015-02-06 02:43:17 UTC (rev 230887)
@@ -4,21 +4,33 @@
 pkgname=appstream-glib
 pkgver=0.3.4
 pkgrel=1
-pkgdesc="Provides GObjects and helper methods to make it easy to read and write AppStream metadata."
+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=('glib2' 'libsoup' 'gdk-pixbuf2' 'libarchive' 'gtk3' 'libyaml')
+depends=('gtk3' 'libyaml' 'pacman')
 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=('b3652e289d5fade9efbc07b9eabff488')
 
 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr
+  ./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