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

Andrea Scarpino andrea at archlinux.org
Wed Jun 23 12:02:19 EDT 2010


    Date: Wednesday, June 23, 2010 @ 12:02:18
  Author: andrea
Revision: 83885

upgpkg: words 2.0-2
arch any; use package()

Modified:
  words/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-23 15:57:43 UTC (rev 83884)
+++ PKGBUILD	2010-06-23 16:02:18 UTC (rev 83885)
@@ -1,22 +1,23 @@
 # $Id$
+# Maintainer:
 # Contributor: Eric Johnson <eric at coding-zone.com>
 
 pkgname=words
 pkgver=2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A collection of International 'words' files for /usr/share/dict"
-arch=('i686' 'x86_64')
+arch=('any')
 url="http://www.archlinux.org"
 license=('GPL' 'GPL2' 'custom')
 depends=('util-linux-ng')
-install=words.install
+install=${pkgname}.install
 source=(ftp://ftp.archlinux.org/other/words/$pkgname-$pkgver.tar.bz2)
 md5sums=('cc73f9dd1fb5fb358badcfc23f7963bf')
 
-build() {
+package() {
   cd $srcdir/$pkgname-$pkgver
   install -d $pkgdir/usr/share/dict
-  install -m644 dict/* $pkgdir/usr/share/dict || return 1
+  install -m644 dict/* $pkgdir/usr/share/dict
 
   ln -s catala $pkgdir/usr/share/dict/catalan
   ln -s british-english $pkgdir/usr/share/dict/british



More information about the arch-commits mailing list