Commit 2a87a1a0 authored by Timo Teräs's avatar Timo Teräs

main/hunspell-en: upgrade to 2017.01.22

parent 6f99f11b
# Maintainer: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=hunspell-en pkgname=hunspell-en
pkgver=2016.01.19 pkgver=2017.01.22
pkgrel=0 pkgrel=0
pkgdesc="English hunspell dictionaries" pkgdesc="English hunspell dictionaries"
url="http://wordlist.aspell.net/dicts/" url="http://wordlist.aspell.net/dicts/"
arch="noarch" arch="noarch"
license="LGPL2+ scowl" license="LGPL2+ scowl"
depends="" options="!check" # data only package
makedepends=""
source="http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_US-$pkgver.zip 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_CA-$pkgver.zip
http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_GB-large-$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() { unpack() {
msg "Unpacking sources..." msg "Unpacking sources..."
mkdir -p "$_builddir" mkdir -p "$builddir"
cd "$_builddir" cd "$builddir"
for u in $source; do for u in $source; do
local s="$SRCDEST/$(filename_from_uri $u)" local s="$SRCDEST/$(filename_from_uri $u)"
unzip $s unzip $s
...@@ -26,12 +25,8 @@ unpack() { ...@@ -26,12 +25,8 @@ unpack() {
} }
prepare() { prepare() {
cd "$_builddir" cd "$builddir"
for i in $source; do default_prepare
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
sed -i "s:SET UTF8:SET UTF-8:g" *.aff sed -i "s:SET UTF8:SET UTF-8:g" *.aff
} }
...@@ -40,7 +35,7 @@ build() { ...@@ -40,7 +35,7 @@ build() {
} }
package() { package() {
cd "$_builddir" cd "$builddir"
install -dm755 $pkgdir/usr/share/hunspell install -dm755 $pkgdir/usr/share/hunspell
install -m644 en_*.dic en_*.aff $pkgdir/usr/share/hunspell install -m644 en_*.dic en_*.aff $pkgdir/usr/share/hunspell
...@@ -65,12 +60,6 @@ package() { ...@@ -65,12 +60,6 @@ package() {
install -D -m644 README_en_GB-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_GB-large 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 sha512sums="1ac2160136cf914e3838bbe29949bd027276fdc8aa9fd3f79a74e037e9231f4a3ee1cb29b635a331ba7c1bc87d05d9809bbd44b2e82925430e2935a47507e635 hunspell-en_US-2017.01.22.zip
fc1f621871b2f78598e7ddebe7c3f0e6 hunspell-en_CA-2016.01.19.zip 0d99ba9d427d0a7cc4752f0df686bbeac5295a028d03582ab741fd2e8d1691ffc735854a84ebd0f93e6e905d018eeaa540dce64d990a8b8be0135bd75358fdba hunspell-en_CA-2017.01.22.zip
53d431a7f1db8178610e0c42bf2a4d6a hunspell-en_GB-large-2016.01.19.zip" 2200652e57a50e8b84dd2703871b03756b844afe210c7f95013ea07dbc760926e312a7bb5ade43c692025fff56cd11dc20bfd1f83bd492345973427af16a3e04 hunspell-en_GB-large-2017.01.22.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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment