blob: 45b4196a85af6c298b25177db40c7d908b47e112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $Id: PKGBUILD 171362 2012-11-17 09:56:22Z eric $
# Maintainer:
# Contributor: Simo Leone <simo@archlinux.org>
# Contributor: jlvsimoes <jlvsimoes@oninet.pt>
pkgname=aspell-pt
_pkgverPT=20070510
_pkgverBR=20090702
pkgver=$_pkgverBR
pkgrel=4
pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell"
arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL2')
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)
sha1sums=('add1db9a6a908dccaad13a7fd85c3b202299ff26'
'e136c2f411b582897437b06b9068c98ee333be41')
build() {
cd "$srcdir/aspell6-pt_BR-$_pkgverBR-0"
./configure
make
cd "$srcdir/aspell6-pt_PT-$_pkgverPT-0"
./configure
make
}
package() {
cd "$srcdir/aspell6-pt_BR-$_pkgverBR-0"
make DESTDIR="$pkgdir" install
cd "$srcdir/aspell6-pt_PT-$_pkgverPT-0"
make DESTDIR="$pkgdir" install
echo "add pt_BR.multi" > "$pkgdir"/usr/lib/aspell-0.60/brasileiro.alias
}
|