diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-08-08 16:40:53 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-08-08 16:40:53 +0300 |
commit | f2d95f4f6847aaa0204a18a73db8427cf72260f0 (patch) | |
tree | c2f08508a8cbf2938e2161076833183252011d33 /main | |
parent | 484fb904966824bd7d83610f2f28c912b6aa6b03 (diff) | |
download | aports-f2d95f4f6847aaa0204a18a73db8427cf72260f0.tar.bz2 aports-f2d95f4f6847aaa0204a18a73db8427cf72260f0.tar.xz |
main/hunspell-pt: new aport
Portuguese spelling dictionaries
Diffstat (limited to 'main')
-rw-r--r-- | main/hunspell-pt/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/hunspell-pt/APKBUILD b/main/hunspell-pt/APKBUILD new file mode 100644 index 0000000000..bd9e89ba31 --- /dev/null +++ b/main/hunspell-pt/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=hunspell-pt +pkgver=20150704 +pkgrel=0 +pkgdesc="Portuguese hunspell dictionaries" +url="http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/" +arch="noarch" +license="LGPLv2 GPLv2 MPLv1.1" +depends="" +makedepends="" +source="http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20150704.tar.gz + " + +_builddir="$srcdir"/hunspell-pt_PT-$pkgver + +build() { + : +} + +package() { + cd "$_builddir" + + install -dm755 $pkgdir/usr/share/hunspell + install -m644 pt_*.dic pt_*.aff $pkgdir/usr/share/hunspell + + local lang + for lang in pt_AO; do + ln -svf pt_PT.aff $pkgdir/usr/share/hunspell/$lang.aff + ln -svf pt_PT.dic $pkgdir/usr/share/hunspell/$lang.dic + done + + # docs + install -dm755 ${pkgdir}/usr/share/doc/$pkgname + install -m644 README_pt*.txt $pkgdir/usr/share/doc/$pkgname +} + +md5sums="66c992c86b3ceffa27d449957b69b0dc hunspell-pt_PT-20150704.tar.gz" +sha256sums="2cf4b5ff5e48744636adc310fc9b57e8e5d3e38df2c73512924c0466e6aeb76f hunspell-pt_PT-20150704.tar.gz" +sha512sums="a1209c292e86d2bd396706860859eaa0505f833df9e51be428b7393636b728442858403fcde1344cf2f1bd9181f89e9d1b56037528079c8d8d14df910f9f0ef4 hunspell-pt_PT-20150704.tar.gz" |