Date: Thursday, February 4, 2016 @ 15:06:35 Author: jgc Revision: 258866
upgpkg: gedit 3.18.3-1 Modified: gedit/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-02-04 13:55:09 UTC (rev 258865) +++ PKGBUILD 2016-02-04 14:06:35 UTC (rev 258866) @@ -3,7 +3,7 @@ # Contributor: Jan de Groot <j...@archlinux.org> pkgname=gedit -pkgver=3.18.2 +pkgver=3.18.3 pkgrel=1 pkgdesc="A text editor for GNOME" arch=(i686 x86_64) @@ -15,7 +15,7 @@ url="http://www.gnome.org" install=gedit.install source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('856e451aec29ee45980011de57cadfe89c3cbc53968f6cc865f8efe0bd0d49b1') +sha256sums=('6762ac0d793b0f754a2da5f88739d04fa39daa7491c5c46401d24bcef76c32e7') build() { cd $pkgname-$pkgver @@ -23,6 +23,10 @@ --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib --disable-updater --disable-schemas-compile \ --enable-python + + # Hack to remove unneeded library linking + 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 }