summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEinar Lielmanis2018-01-29 10:44:55 +0200
committerEinar Lielmanis2018-01-29 10:44:55 +0200
commit8e540c245361b58793d0fb7839cb326db118f2ac (patch)
treeaa7bce811805522819719acf3566203bde7abcd7 /PKGBUILD
parentbf7e748506b5ef6594bc57bf6b726fd8c2d5e7a6 (diff)
downloadaur-8e540c245361b58793d0fb7839cb326db118f2ac.tar.gz
Work around libenchant changes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 63a7a0ff43e7..e31f16342596 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sylpheed-beta-iconmod
pkgver=3.7.0beta1
-pkgrel=1
+pkgrel=3
pkgdesc="Lightweight e-mail client. Latest official beta with the coonsden.com icon theme."
arch=('i686' 'x86_64')
url="http://sylpheed.sraoss.jp/en/"
@@ -22,8 +22,12 @@ build() {
cp -r "$srcdir/Sylpheed3.0_icon-set/src" "$srcdir/sylpheed-$pkgver"
cd "$srcdir/sylpheed-$pkgver"
- ./configure --prefix=/usr --enable-ldap --enable-gpgme
+ # fix enchant maintainers moving things around for fun
+ sed -i 's:enchant/enchant.h:enchant-2/enchant.h:g' src/compose.c
+ sed -i 's:PKG_CONFIG --libs enchant:PKG_CONFIG --libs enchant-2:g' configure.ac
+ autoconf
+ ./configure --prefix=/usr --enable-ldap --enable-gpgme
make
}