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

Andrea Scarpino andrea at archlinux.org
Tue Jan 4 20:17:20 EST 2011


    Date: Tuesday, January 4, 2011 @ 20:17:19
  Author: andrea
Revision: 104841

upgpkg: aspell-ru 0.99f7-3
use package(); arch can be any

Modified:
  aspell-ru/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 01:15:18 UTC (rev 104840)
+++ PKGBUILD	2011-01-05 01:17:19 UTC (rev 104841)
@@ -1,12 +1,13 @@
 # $Id$
-# Maintainer: Simo Leone <simo at archlinux.org>
+# Maintainer:
+# Contributor: Simo Leone <simo at archlinux.org>
 # Contributor: Rouslan Solomakhin <rouslan at localnet.com>
 
 pkgname=aspell-ru
 pkgver=0.99f7
-pkgrel=2
+pkgrel=3
 pkgdesc="Russian dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('any')
 url="http://aspell.net/"
 license=('custom')
 depends=('aspell')
@@ -15,8 +16,13 @@
 
 build() {
   cd $srcdir/aspell6-ru-$pkgver-1
-  ./configure || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  ./configure
+  make
+}
+
+package() {
+  cd $srcdir/aspell6-ru-$pkgver-1
+  make DESTDIR=$pkgdir install
+
   install -D -m644 Copyright $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list