aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell-pt-br
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-08-08 16:46:13 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-08-08 16:46:34 +0300
commit7f5d1424eb9860821ae54329e5f80cf93d20dc9b (patch)
treef7fd5601d2e172bdd47d9c5af48e5ae7ff5e819e /main/hunspell-pt-br
parentf2d95f4f6847aaa0204a18a73db8427cf72260f0 (diff)
downloadaports-7f5d1424eb9860821ae54329e5f80cf93d20dc9b.tar.bz2
aports-7f5d1424eb9860821ae54329e5f80cf93d20dc9b.tar.xz
main/hunspell-pt-br: new aport
Portuguese (Brazil) spelling dictionary
Diffstat (limited to 'main/hunspell-pt-br')
-rw-r--r--main/hunspell-pt-br/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/main/hunspell-pt-br/APKBUILD b/main/hunspell-pt-br/APKBUILD
new file mode 100644
index 000000000..1f2faee5a
--- /dev/null
+++ b/main/hunspell-pt-br/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=hunspell-pt-br
+pkgver=20131017
+pkgrel=0
+pkgdesc="Portuguese (Brazil) hunspell dictionaries"
+url="http://pt-br.libreoffice.org/"
+arch="noarch"
+license="LGPLv3 MPL"
+depends=""
+makedepends=""
+source="http://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/VeroptBRV320AOC.oxt
+ "
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+unpack() {
+ msg "Unpacking sources..."
+ mkdir -p "$_builddir"
+ cd "$_builddir"
+ for u in $source; do
+ local s="$SRCDEST/$(filename_from_uri $u)"
+ case "$s" in
+ *.oxt) unzip $s ;;
+ esac
+ done
+}
+
+build() {
+ :
+}
+
+package() {
+ cd "$_builddir"
+
+ install -dm755 $pkgdir/usr/share/hunspell
+ install -m644 pt_BR.dic pt_BR.aff $pkgdir/usr/share/hunspell
+
+ # docs
+ install -dm755 ${pkgdir}/usr/share/doc/$pkgname
+ install -m644 README_pt_BR.txt ${pkgdir}/usr/share/doc/$pkgname
+}
+
+md5sums="9a9ac174c401406604bfcf101de2a7ba VeroptBRV320AOC.oxt"
+sha256sums="78bac9ed27bf1b23666e240bc3809b9520004f14885423580a029771032bff54 VeroptBRV320AOC.oxt"
+sha512sums="217d25ecc532c4b3386593cea4d430094ec4badb81e12648d3ca87a7f2e29243a94028a1287ff50db4532c6e1a33e52a0839fd0d45ae8c167bc89df940209b14 VeroptBRV320AOC.oxt"