summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2020-12-30 17:47:48 +0100
committerhaawda2020-12-30 17:47:48 +0100
commitbae535dadbe33ce7d782e0e205b0a80249e127ab (patch)
treed3280b91f6dc959450cae3dae711bf9b2a712a75 /PKGBUILD
parente56309a832ffeea952e788af187d083b4fb2c902 (diff)
downloadaur-bae535dadbe33ce7d782e0e205b0a80249e127ab.tar.gz
handle stray linkages like community package does
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f805a2d05c3d..1ab883c7123c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=abiword-git
-pkgver=3.1.0.20601.ac3278bd8
+pkgver=3.1.0.20604.a39a4872c
pkgrel=1
epoch=1
pkgdesc="Fully-featured word processor from official gnome gitlab mirror"
@@ -45,6 +45,7 @@ prepare() {
build() {
cd AbiWord
export CXXFLAGS+=" -O3"
+
LANG=C LC_CTYPE=C ./autogen.sh --prefix=/usr \
--enable-shared \
--disable-static \
@@ -58,7 +59,8 @@ build() {
openwriter t602 presentation mathview \
openxml wml mht applix loadbindings urldict \
clarisworks docbook hancom babelfish" \
- --enable-introspection
+ --enable-introspection
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}