summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2020-12-09 17:02:55 +0100
committerhaawda2020-12-09 17:02:55 +0100
commit28637eefd186c35eb89d572feac3ed8e9bf3c79d (patch)
tree909637d934af5e50005dbab3e914a3ebe0760d42
parentf99425c0c2e36d10f98aa57e1609e4f0fc2f70ed (diff)
downloadaur-28637eefd186c35eb89d572feac3ed8e9bf3c79d.tar.gz
use libtool trick from official PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9fe6f549000..48b6def87a01 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnumeric-minimal
pkgdesc = A GNOME-less spreadsheet program
pkgver = 1.12.48
- pkgrel = 1
+ pkgrel = 2
url = http://www.gnome.org/projects/gnumeric/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a986403a7c04..f159fc00288d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnumeric-minimal
_pkgname=gnumeric
_minorver=48
pkgver=1.12.${_minorver}
-pkgrel=1
+pkgrel=2
pkgdesc="A GNOME-less spreadsheet program"
arch=('i686' 'x86_64')
url="http://www.gnome.org/projects/gnumeric/"
@@ -32,6 +32,7 @@ build() {
--without-gnome --without-psiconv --without-perl \
--without-python --without-gda \
--with-help-dir=/usr/share/gnome/help
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}