[arch-commits] CVS update of extra/games/dopewars (PKGBUILD)

Jeff Mickey jeff at archlinux.org
Sat Jun 2 14:17:25 EDT 2007


    Date: Saturday, June 2, 2007 @ 14:17:25
  Author: jeff
    Path: /home/cvs-extra/extra/games/dopewars

Modified: PKGBUILD (1.9 -> 1.10)

upgpkg: dopewars 1.5.12-1


----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)


Index: extra/games/dopewars/PKGBUILD
diff -u extra/games/dopewars/PKGBUILD:1.9 extra/games/dopewars/PKGBUILD:1.10
--- extra/games/dopewars/PKGBUILD:1.9	Tue Jul 18 17:25:25 2006
+++ extra/games/dopewars/PKGBUILD	Sat Jun  2 14:17:25 2007
@@ -1,5 +1,5 @@
-# $Id: PKGBUILD,v 1.9 2006/07/18 21:25:25 andyrtr Exp $
-# Maintainer: dale <dale at archlinux.org>
+# $Id: PKGBUILD,v 1.10 2007/06/02 18:17:25 jeff Exp $
+# Maintainer: Jeff Mickey <jeff at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=dopewars
@@ -9,7 +9,8 @@
 arch=(i686 x86_64)
 depends=('gtk2>=2.8.13' 'alsa-lib' 'audiofile' 'esd' 'sdl_mixer')
 url="http://dopewars.sourceforge.net/"
-source=(http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+license=('GPL')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('debf749de9053dc2fb2e74c37ae06206')
 
 build() {
@@ -17,8 +18,12 @@
 	./configure --prefix=/usr
 	make || return 1
 	make prefix=$startdir/pkg/usr install
+	mv $startdir/pkg/usr/var $startdir/pkg/var
+	mkdir -p $startdir/pkg/usr/share/applications
+	mv $startdir/pkg/usr/share/gnome/apps/Games/dopewars.desktop $startdir/pkg/usr/share/applications
+	rm -r $startdir/pkg/usr/share/gnome
 	chown root.root $startdir/pkg/usr/bin/dopewars
 	chmod 755 $startdir/pkg/usr/bin/dopewars
-	chown root.users $startdir/pkg/usr/var/dopewars.sco
-	chmod 664 $startdir/pkg/usr/var/dopewars.sco
+	chown root.users $startdir/pkg/var/dopewars.sco
+	chmod 664 $startdir/pkg/var/dopewars.sco
 }




More information about the arch-commits mailing list