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

Jan de Groot jgc at archlinux.org
Wed Dec 9 15:44:56 UTC 2015


    Date: Wednesday, December 9, 2015 @ 16:44:56
  Author: jgc
Revision: 255020

upgpkg: goffice 0.10.24-1

Modified:
  goffice/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-09 14:14:05 UTC (rev 255019)
+++ PKGBUILD	2015-12-09 15:44:56 UTC (rev 255020)
@@ -2,7 +2,7 @@
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=goffice
-pkgver=0.10.23
+pkgver=0.10.24
 pkgrel=1
 pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+"
 arch=('i686' 'x86_64')
@@ -9,14 +9,17 @@
 url="http://www.gnome.org"
 license=('GPL')
 makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection')
-depends=('librsvg' 'gtk3' 'libgsf' 'libspectre' 'libxslt')
+depends=('librsvg' 'gtk3' 'libgsf' 'libspectre' 'libxslt' 'lasem')
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('1325fc38f2476977bd8d71588ccb2a57aa418260406b7c28a20098b6b4e33f9f')
+sha256sums=('cda70eab0b0b0e29c3bea09849bcfca0c2ccc20038ee69e7e14cde664484af5a')
 
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-static --enable-introspection
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
   make
 }
 



More information about the arch-commits mailing list