aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell-en
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-11-20 15:59:15 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-11-20 16:00:58 +0200
commit2a87a1a0aa19dd42e83c58d00865f71acedb65cc (patch)
tree1e7bcb44a0ab003da35cf4325f676694d3ce664e /main/hunspell-en
parent6f99f11bf5ea0fa2d4806ed2a56d9b4c8fd10118 (diff)
downloadaports-2a87a1a0aa19dd42e83c58d00865f71acedb65cc.tar.bz2
aports-2a87a1a0aa19dd42e83c58d00865f71acedb65cc.tar.xz
main/hunspell-en: upgrade to 2017.01.22
Diffstat (limited to 'main/hunspell-en')
-rw-r--r--main/hunspell-en/APKBUILD33
1 files changed, 11 insertions, 22 deletions
diff --git a/main/hunspell-en/APKBUILD b/main/hunspell-en/APKBUILD
index b8a76a477e..8002b40d9e 100644
--- a/main/hunspell-en/APKBUILD
+++ b/main/hunspell-en/APKBUILD
@@ -1,24 +1,23 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=hunspell-en
-pkgver=2016.01.19
+pkgver=2017.01.22
pkgrel=0
pkgdesc="English hunspell dictionaries"
url="http://wordlist.aspell.net/dicts/"
arch="noarch"
license="LGPL2+ scowl"
-depends=""
-makedepends=""
+options="!check" # data only package
source="http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_US-$pkgver.zip
http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_CA-$pkgver.zip
http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_GB-large-$pkgver.zip
"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
unpack() {
msg "Unpacking sources..."
- mkdir -p "$_builddir"
- cd "$_builddir"
+ mkdir -p "$builddir"
+ cd "$builddir"
for u in $source; do
local s="$SRCDEST/$(filename_from_uri $u)"
unzip $s
@@ -26,12 +25,8 @@ unpack() {
}
prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ default_prepare
sed -i "s:SET UTF8:SET UTF-8:g" *.aff
}
@@ -40,7 +35,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -dm755 $pkgdir/usr/share/hunspell
install -m644 en_*.dic en_*.aff $pkgdir/usr/share/hunspell
@@ -65,12 +60,6 @@ package() {
install -D -m644 README_en_GB-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_GB-large
}
-md5sums="de94962667a51ef9d65c7804b0b62971 hunspell-en_US-2016.01.19.zip
-fc1f621871b2f78598e7ddebe7c3f0e6 hunspell-en_CA-2016.01.19.zip
-53d431a7f1db8178610e0c42bf2a4d6a hunspell-en_GB-large-2016.01.19.zip"
-sha256sums="fe0c48084bfd534f244ecd12836ae5e0b27fc10dab28879fdafece892267a674 hunspell-en_US-2016.01.19.zip
-f59b120b43ab444ee33e018a6416f3be70f867a928956fe4a1750245fd57a341 hunspell-en_CA-2016.01.19.zip
-edcca9b78ae8923e6209db523355b4a91ac6d9daad94df12413498b4e5069719 hunspell-en_GB-large-2016.01.19.zip"
-sha512sums="12696efdbb98e4f70108302d086539ff3b2b85fcddc34348b852235c29a4a863eccef4d591f5e2e66f3210797538bae508c10bf8d99fe4b541700f3b0dcbac32 hunspell-en_US-2016.01.19.zip
-26bb97dc8fd20e7d1980b16ce28822dc9c4db1295908e0daf6dfb860a07e3416162f0c5322663f02422dde22d09e9369c037a14a9b487c9aad256e2467d172ed hunspell-en_CA-2016.01.19.zip
-0db63511a131116845ca005acdb8231a463cd7a383e933be3b276b7d0f9a2dab657ecc3c565449cd52d55d092a1c8f5c9441ea17e5122e9e28034c55b2315d3a hunspell-en_GB-large-2016.01.19.zip"
+sha512sums="1ac2160136cf914e3838bbe29949bd027276fdc8aa9fd3f79a74e037e9231f4a3ee1cb29b635a331ba7c1bc87d05d9809bbd44b2e82925430e2935a47507e635 hunspell-en_US-2017.01.22.zip
+0d99ba9d427d0a7cc4752f0df686bbeac5295a028d03582ab741fd2e8d1691ffc735854a84ebd0f93e6e905d018eeaa540dce64d990a8b8be0135bd75358fdba hunspell-en_CA-2017.01.22.zip
+2200652e57a50e8b84dd2703871b03756b844afe210c7f95013ea07dbc760926e312a7bb5ade43c692025fff56cd11dc20bfd1f83bd492345973427af16a3e04 hunspell-en_GB-large-2017.01.22.zip"