Mail archive
alpine-aports

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

From: Taner Tas <taner76_at_gmail.com>
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
_at_@ -1,15 +1,15 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 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"
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 06 2018 - 20:20:56 GMT