Subject: [alpine-aports] [PATCH] main/sylpheed: upgrade to 3.7.0, modernize APKBUILD

From: Taner Tas <[email-masked]>
Date: Tue, 6 Mar 2018 20:20:56 +0000

---
 main/sylpheed/APKBUILD | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/main/sylpheed/APKBUILD b/main/sylpheed/APKBUILD
index a65a40c..e1975fa 100644
--- a/main/sylpheed/APKBUILD
+++ b/main/sylpheed/APKBUILD
@@ -1,15 +1,15 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=sylpheed
-pkgver=3.6.0
-pkgrel=1
+pkgver=3.7.0
+pkgrel=0
 pkgdesc="Lightweight and user-friendly e-mail client"
 url="http://sylpheed.sraoss.jp/en/"
 arch="all"
-license="GPL"
+license="GPL-3.0-only"
 depends="pinentry-gtk"
 makedepends="gtk+-dev openldap-dev libressl-dev gpgme-dev"
 subpackages="$pkgname-dev $pkgname-lang"
-source="http://$pkgname.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+source="https://osdn.net/dl/sylpheed/$pkgname-$pkgver.tar.xz"
 
 build() {
 	cd "$srcdir/sylpheed-$pkgver"
@@ -23,9 +23,14 @@ build() {
 	make
 }
 
+check() {
+	cd "$builddir"
+	make check
+}
+
 package() {
-	cd "$srcdir/sylpheed-$pkgver"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install
 }
 
-sha512sums="84c59e327690ed7e637e9ce60e630da6cdad771ccc278e31e490ed643da55c295fb47e999ad421fc59dbbcfed990882022b96cf478bd47253692d2e86279c591  sylpheed-3.6.0.tar.bz2"
+sha512sums="1f3255dd61878e9f52f78cd68a76712835c376296ddfa72034a0415f17843eaa334fb6019900b2fa18ccc600d918945febd7ffdfde91990a4e9f5c05a1609c76  sylpheed-3.7.0.tar.xz"
-- 
2.16.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---