[arch-commits] Commit in sylpheed/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Jan 20 01:17:22 UTC 2018
Date: Saturday, January 20, 2018 @ 01:17:21
Author: dvzrv
Revision: 284254
upgpkg: sylpheed 3.6.0-4
Rebuilding for enchant-2. Applying patches to configure and src/compose.c.
Modified:
sylpheed/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-20 01:17:17 UTC (rev 284253)
+++ PKGBUILD 2018-01-20 01:17:21 UTC (rev 284254)
@@ -6,7 +6,7 @@
pkgname=sylpheed
pkgver=3.6.0
-pkgrel=3
+pkgrel=4
pkgdesc="Lightweight and user-friendly e-mail client"
arch=('x86_64')
url="https://sylpheed.sraoss.jp/en/"
@@ -16,9 +16,18 @@
source=("https://sylpheed.sraoss.jp/${pkgname}/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
sha512sums=('84c59e327690ed7e637e9ce60e630da6cdad771ccc278e31e490ed643da55c295fb47e999ad421fc59dbbcfed990882022b96cf478bd47253692d2e86279c591')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # patch for enchant >= 2.1.3
+ # https://www.archlinux.org/todo/enchant-221-rebuild/
+ sed -i 's,enchant/,enchant-2/,g' src/compose.c
+ sed -i 's/ enchant/ enchant-2/g' configure
+}
+
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr \
+ --enable-maintainer-mode \
--enable-ldap
make
@@ -28,7 +37,7 @@
package() {
cd "${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir/" LDFLAGS+="/usr/lib/enchant-2" install
# Install Attachment-Tool Plug-in
cd plugin/attachment_tool
More information about the arch-commits
mailing list