Date: Saturday, February 19, 2011 @ 22:52:37 Author: eric Revision: 110574
upgpkg: aspell-pt 20090702-1 Updated pt_BR dictionnary, Made description more specific, Added conflicts and replaces for aspell-pt_br Modified: aspell-pt/trunk/PKGBUILD ----------+ PKGBUILD | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-02-20 03:05:38 UTC (rev 110573) +++ PKGBUILD 2011-02-20 03:52:37 UTC (rev 110574) @@ -4,32 +4,36 @@ # Contributor: jlvsimoes <jlvsim...@oninet.pt> pkgname=aspell-pt -pkgver=20080707 -pkgrel=2 -pkgdesc="Portuguese dictionary for aspell" +_pkgverPT=20070510 +_pkgverBR=20090702 +pkgver=$_pkgverBR +pkgrel=1 +pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell" arch=('any') url="http://aspell.net/" license=('LGPL' 'GPL') depends=('aspell') -source=(ftp://ftp.gnu.org/gnu/aspell/dict/pt_BR/aspell6-pt_BR-20080707-0.tar.bz2 - ftp://ftp.gnu.org/gnu/aspell/dict/pt_PT/aspell6-pt_PT-20070510-0.tar.bz2) -md5sums=('0c99d5c143fc15a951a1bc234230590c' - 'a54267ce8f91de6e6a1baf1e8048cba0') +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) +md5sums=('e082a8956882eb94a67c12e1b8c4a324' 'a54267ce8f91de6e6a1baf1e8048cba0') +sha1sums=('add1db9a6a908dccaad13a7fd85c3b202299ff26' 'e136c2f411b582897437b06b9068c98ee333be41') build() { - cd $srcdir/aspell6-pt_BR-20080707-0 + cd "$srcdir/aspell6-pt_BR-$_pkgverBR-0" ./configure make - cd $srcdir/aspell6-pt_PT-20070510-0 + cd "$srcdir/aspell6-pt_PT-$_pkgverPT-0" ./configure make } package() { - cd $srcdir/aspell6-pt_BR-20080707-0 - make DESTDIR=$pkgdir install + cd "$srcdir/aspell6-pt_BR-$_pkgverBR-0" + make DESTDIR="$pkgdir" install - cd $srcdir/aspell6-pt_PT-20070510-0 - make DESTDIR=$pkgdir install + cd "$srcdir/aspell6-pt_PT-$_pkgverPT-0" + make DESTDIR="$pkgdir" install }