summaryrefslogtreecommitdiff
path: root/extra/aspell-pt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/aspell-pt/PKGBUILD')
-rw-r--r--extra/aspell-pt/PKGBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/extra/aspell-pt/PKGBUILD b/extra/aspell-pt/PKGBUILD
index a75faab38..d8a443be6 100644
--- a/extra/aspell-pt/PKGBUILD
+++ b/extra/aspell-pt/PKGBUILD
@@ -1,13 +1,11 @@
-# $Id: PKGBUILD 171362 2012-11-17 09:56:22Z eric $
+# $Id: PKGBUILD 188442 2013-06-14 04:11:14Z eric $
# Maintainer:
-# Contributor: Simo Leone <simo@archlinux.org>
-# Contributor: jlvsimoes <jlvsimoes@oninet.pt>
pkgname=aspell-pt
-_pkgverPT=20070510
+_pkgverPT=20130331
_pkgverBR=20090702
-pkgver=$_pkgverBR
-pkgrel=4
+pkgver=$_pkgverPT
+pkgrel=1
pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell"
arch=('i686' 'x86_64')
url="http://aspell.net/"
@@ -16,25 +14,34 @@ depends=('aspell')
conflicts=('aspell-pt_br')
replaces=('aspell-pt_br')
source=(ftp://ftp.gnu.org/gnu/aspell/dict/pt_BR/aspell6-pt_BR-$_pkgverBR-0.tar.bz2
- ftp://ftp.gnu.org/gnu/aspell/dict/pt_PT/aspell6-pt_PT-$_pkgverPT-0.tar.bz2)
+ http://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-$_pkgverPT.tar.bz2
+ http://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-preao-$_pkgverPT.tar.bz2)
sha1sums=('add1db9a6a908dccaad13a7fd85c3b202299ff26'
- 'e136c2f411b582897437b06b9068c98ee333be41')
+ '694b35b1a6fcb90ff808b730a4513ff283e1ceee'
+ 'fa164ac44adc4544c7fdbb3dc5c146c28f30525a')
build() {
- cd "$srcdir/aspell6-pt_BR-$_pkgverBR-0"
+ cd aspell6-pt_BR-$_pkgverBR-0
./configure
make
- cd "$srcdir/aspell6-pt_PT-$_pkgverPT-0"
+ cd ../aspell6-pt_PT-$_pkgverPT-0
+ ./configure
+ make
+
+ cd ../aspell6-pt_PT-preao-$_pkgverPT-0
./configure
make
}
package() {
- cd "$srcdir/aspell6-pt_BR-$_pkgverBR-0"
+ cd aspell6-pt_BR-$_pkgverBR-0
+ make DESTDIR="$pkgdir" install
+
+ cd ../aspell6-pt_PT-$_pkgverPT-0
make DESTDIR="$pkgdir" install
- cd "$srcdir/aspell6-pt_PT-$_pkgverPT-0"
+ cd ../aspell6-pt_PT-preao-$_pkgverPT-0
make DESTDIR="$pkgdir" install
echo "add pt_BR.multi" > "$pkgdir"/usr/lib/aspell-0.60/brasileiro.alias