summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEinar Lielmanis2018-01-29 10:44:55 +0200
committerEinar Lielmanis2018-01-29 10:44:55 +0200
commit8e540c245361b58793d0fb7839cb326db118f2ac (patch)
treeaa7bce811805522819719acf3566203bde7abcd7
parentbf7e748506b5ef6594bc57bf6b726fd8c2d5e7a6 (diff)
downloadaur-8e540c245361b58793d0fb7839cb326db118f2ac.tar.gz
Work around libenchant changes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a716a248bd20..c78ba33a357f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sylpheed-beta-iconmod
pkgdesc = Lightweight e-mail client. Latest official beta with the coonsden.com icon theme.
pkgver = 3.7.0beta1
- pkgrel = 1
+ pkgrel = 3
url = http://sylpheed.sraoss.jp/en/
arch = i686
arch = x86_64
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
}