summaryrefslogtreecommitdiff
path: root/extra/gnome-desktop2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnome-desktop2/PKGBUILD')
-rw-r--r--extra/gnome-desktop2/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/gnome-desktop2/PKGBUILD b/extra/gnome-desktop2/PKGBUILD
index 3829d54f7..e84bd7f64 100644
--- a/extra/gnome-desktop2/PKGBUILD
+++ b/extra/gnome-desktop2/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 121039 2011-04-28 07:31:32Z heftig $
+# $Id: PKGBUILD 148750 2012-02-05 11:49:09Z ibiru $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jan@archlinux.org>
_pkgname=gnome-desktop
pkgname=${_pkgname}2
pkgver=2.32.1
-pkgrel=1
-pkgdesc="The GNOME Desktop"
+pkgrel=2
+pkgdesc="Library with common API for various GNOME modules (legacy version)"
arch=(i686 x86_64)
license=(GPL LGPL)
depends=(gconf gtk2 startup-notification)
@@ -23,6 +23,9 @@ build() {
--with-gnome-distributor="Archlinux" \
--disable-scrollkeeper \
--disable-gnome-about --disable-desktop-docs
+
+ 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
}