[arch-commits] Commit in sylpheed/repos (staging-x86_64 staging-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Jan 20 01:17:37 UTC 2018
Date: Saturday, January 20, 2018 @ 01:17:36
Author: dvzrv
Revision: 284255
archrelease: copy trunk to staging-x86_64
Added:
sylpheed/repos/staging-x86_64/
sylpheed/repos/staging-x86_64/PKGBUILD
(from rev 284254, sylpheed/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: sylpheed/repos/staging-x86_64/PKGBUILD (from rev 284254, sylpheed/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-01-20 01:17:36 UTC (rev 284255)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=sylpheed
+pkgver=3.6.0
+pkgrel=4
+pkgdesc="Lightweight and user-friendly e-mail client"
+arch=('x86_64')
+url="https://sylpheed.sraoss.jp/en/"
+license=('GPL')
+depends=('compface' 'gpgme' 'gtkspell')
+makedepends=('openssl')
+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
+
+ # Build Attachment-Tool Plug-in
+ cd plugin/attachment_tool && make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir/" LDFLAGS+="/usr/lib/enchant-2" install
+
+ # Install Attachment-Tool Plug-in
+ cd plugin/attachment_tool
+ make DESTDIR="$pkgdir/" install-plugin
+}
More information about the arch-commits
mailing list