[arch-commits] Commit in sylpheed/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alad Wenter
alad at archlinux.org
Sun Jan 6 19:41:01 UTC 2019
Date: Sunday, January 6, 2019 @ 19:41:01
Author: alad
Revision: 420741
archrelease: copy trunk to community-x86_64
Added:
sylpheed/repos/community-x86_64/PKGBUILD
(from rev 420739, sylpheed/trunk/PKGBUILD)
Deleted:
sylpheed/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 95 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 50 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-06 19:41:00 UTC (rev 420740)
+++ PKGBUILD 2019-01-06 19:41:01 UTC (rev 420741)
@@ -1,45 +0,0 @@
-# $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.7.0
-pkgrel=2
-pkgdesc="Lightweight and user-friendly e-mail client"
-arch=('x86_64')
-url="https://sylpheed.sraoss.jp/en/"
-license=('GPL')
-depends=('compface' 'gpgme' 'gtkspell' 'libnsl')
-makedepends=('openssl')
-source=("https://sylpheed.sraoss.jp/${pkgname}/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('490837528bf7ba9d26994cd5fff00b6e5390a127419b9d0efd9fc25c38be1291d55c5b8daebdf5ca9d9159a51c938449e76212328f3eae40cc039db88cb5caa4')
-
-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
-}
Copied: sylpheed/repos/community-x86_64/PKGBUILD (from rev 420739, sylpheed/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-06 19:41:01 UTC (rev 420741)
@@ -0,0 +1,50 @@
+# Maintainer: Alad Wenter <alad at archlinux.org>
+# Contributor: 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.7.0
+pkgrel=3
+pkgdesc="Lightweight and user-friendly e-mail client"
+arch=('x86_64')
+url="https://sylpheed.sraoss.jp/en/"
+license=('GPL')
+depends=('compface' 'gpgme' 'gtkspell' 'libnsl')
+makedepends=('openssl')
+source=("https://sylpheed.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+ "Support-SNI-some-servers-imap.gmail.patch::https://sylpheed.sraoss.jp/redmine/attachments/download/145/v2-0001-libsylph-ssl.c-Support-SNI-some-servers-imap.gmai.patch")
+sha256sums=('eb23e6bda2c02095dfb0130668cf7c75d1f256904e3a7337815b4da5cb72eb04'
+ '2c622fa0d110d5745925d3a265d7dd953679d335f85a3ed3d1dcc699d9575d89')
+
+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
+
+ # https://sylpheed.sraoss.jp/redmine/issues/306
+ patch -p1 < "$srcdir"/Support-SNI-some-servers-imap.gmail.patch
+}
+
+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