From f2d95f4f6847aaa0204a18a73db8427cf72260f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Sat, 8 Aug 2015 16:40:53 +0300 Subject: main/hunspell-pt: new aport Portuguese spelling dictionaries --- main/hunspell-pt/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 main/hunspell-pt/APKBUILD (limited to 'main/hunspell-pt') diff --git a/main/hunspell-pt/APKBUILD b/main/hunspell-pt/APKBUILD new file mode 100644 index 000000000..bd9e89ba3 --- /dev/null +++ b/main/hunspell-pt/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Timo Teräs +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" -- cgit v1.2.3