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

Ronald van Haren ronald at archlinux.org
Mon Aug 4 05:53:30 EDT 2008


    Date: Monday, August 4, 2008 @ 05:53:30
  Author: ronald
Revision: 7790

fix license & add arch field

Modified:
  glhack/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-04 09:49:10 UTC (rev 7789)
+++ PKGBUILD	2008-08-04 09:53:30 UTC (rev 7790)
@@ -6,11 +6,12 @@
 pkgver=1.2
 pkgrel=1
 pkgdesc='a 3D port of Nethack for use with OpenGL'
-backup=()
 url="http://glhack.sourceforge.net/"
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
 license=('custom')
-source=(http://download.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+arch=('i686' 'x86_64')
 depends=('sdl' 'libpng' 'mesa')
+md5sums=('b4c68e3ab689610ca638b7660c1b05bd')
 
 build(){
 	cd $startdir/src/$pkgname-$pkgver
@@ -24,4 +25,8 @@
 	sed -i -e 's|PREFIX[\t]* = /usr|PREFIX   = '$startdir'/pkg/usr|g' Makefile
 	sed -i -e 's|s;/usr/games/lib/nethackdir;$(GAMEDIR);|s;/usr/games/lib/nethackdir;/usr/share/$(GAME);|g' Makefile
 	make install
+
+        install -Dm644 $srcdir/$pkgname-$pkgver/dat/license \
+        	$pkgdir/usr/share/licenses/$pkgname/license
 }
+




More information about the arch-commits mailing list