Subject: [alpine-aports] [PATCH] main/aspell-en: upgrade to 2016.11.20, fixes in APKBUILD

From: Valery Kartel <[email-masked]>
Date: Sat, 3 Dec 2016 17:17:56 +0200

---
 main/aspell-en/APKBUILD | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/main/aspell-en/APKBUILD b/main/aspell-en/APKBUILD
index 45875041c0..0cedf97e76 100644
--- a/main/aspell-en/APKBUILD
+++ b/main/aspell-en/APKBUILD
@@ -1,30 +1,32 @@
 # Contributor: Valery Kartel <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=aspell-en
-pkgver=2016.06.26
+pkgver=2016.11.20
 pkgrel=0
+_lang=${pkgname##*-}
+_name=${pkgname%%-*}6-$_lang-$pkgver-0
 pkgdesc="English dictionary for aspell"
 url="http://aspell.net/"
 arch="noarch"
 license="custom"
 depends=""
 makedepends="aspell-dev"
-source="http://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-$pkgver-0.tar.bz2"
+source="http://ftp.gnu.org/gnu/aspell/dict/$_lang/$_name.tar.bz2"
+builddir="$srcdir"/$_name
 
-_builddir="$srcdir"/aspell6-en-$pkgver-0
 build () {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure || return 1
 	make || return 1
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install || return 1
 	install -D -m644 Copyright \
 		"$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
 }
 
-md5sums="649ab2b179fdf97ab716a83896fd57d7  aspell6-en-2016.06.26-0.tar.bz2"
-sha256sums="61c3d8e9671c91930ba978975a68bd317e2b9a761c8bec3637f72d26b0d39fb2  aspell6-en-2016.06.26-0.tar.bz2"
-sha512sums="1f47cf9dcbbab4cfa3571d1cb455d44384cb0697c56dd7988b7e91255b558b56f9741dfc139aeeb1c3955dd4c455715d3afcbf3f0b9971f965767bd527e5b9c2  aspell6-en-2016.06.26-0.tar.bz2"
+md5sums="ea65cee7f191382720521069e58b63dd  aspell6-en-2016.11.20-0.tar.bz2"
+sha256sums="5ca6da8b850c36c2f718d51c653e2f8f68b612f29b5c20d99f704b01a1952691  aspell6-en-2016.11.20-0.tar.bz2"
+sha512sums="acf4c0bac9dba5b001481da159768ee65decea480c6c601ca0733091558406a84a7d8efb47c1806b032d8e22e96927787a29f8e4e93563a01361e4cfaf3a3519  aspell6-en-2016.11.20-0.tar.bz2"
-- 
2.11.0

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