[arch-commits] Commit in aspell-pt/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Wed Jan 5 01:14:56 UTC 2011


    Date: Tuesday, January 4, 2011 @ 20:14:56
  Author: andrea
Revision: 104838

upgpkg: aspell-pt 20080707-2
use package(); arch can be any

Modified:
  aspell-pt/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 01:10:11 UTC (rev 104837)
+++ PKGBUILD	2011-01-05 01:14:56 UTC (rev 104838)
@@ -1,27 +1,35 @@
 # $Id$
-# Maintainer: Simo Leone <simo at archlinux.org>
+# Maintainer:
+# Contributor: Simo Leone <simo at archlinux.org>
 # Contributor: jlvsimoes <jlvsimoes at oninet.pt>
 
 pkgname=aspell-pt
 pkgver=20080707
-pkgrel=1
+pkgrel=2
 pkgdesc="Portuguese dictionary for aspell"
-arch=('i686' 'x86_64')
+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 \
+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')
+md5sums=('0c99d5c143fc15a951a1bc234230590c'
+        'a54267ce8f91de6e6a1baf1e8048cba0')
 
 build() {
   cd $srcdir/aspell6-pt_BR-20080707-0
-  ./configure || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  ./configure
+  make
 
   cd $srcdir/aspell6-pt_PT-20070510-0
-  ./configure || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  ./configure
+  make
 }
+
+package() {
+  cd $srcdir/aspell6-pt_BR-20080707-0
+  make DESTDIR=$pkgdir install
+
+  cd $srcdir/aspell6-pt_PT-20070510-0
+  make DESTDIR=$pkgdir install
+}




More information about the arch-commits mailing list