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

Daniel Griffiths dgriffiths at archlinux.org
Mon Apr 19 08:16:13 UTC 2010


    Date: Monday, April 19, 2010 @ 04:16:13
  Author: dgriffiths
Revision: 78008

upgpkg: rockdodger 0.6-2 Package more than a year old

Modified:
  rockdodger/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-19 08:13:30 UTC (rev 78007)
+++ PKGBUILD	2010-04-19 08:16:13 UTC (rev 78008)
@@ -11,24 +11,24 @@
 license=('GPL')
 depends=('sdl' 'sdl_mixer' 'sdl_image')
 install=rockdodger.install
-source=(http://downloads.sourceforge.net/spacerocks/$pkgname-$pkgver.tar.gz rockdodger-0.6.0a-gcc41.patch)
+source=(http://downloads.sourceforge.net/spacerocks/${pkgname}-${pkgver}.tar.gz rockdodger-0.6.0a-gcc41.patch)
 md5sums=('a82a564a6530e60e7f041f7d95c4cae8' 'c8b17a6ffaa12f1a116170437b4629c0')
 
 build() {
- cd $srcdir/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np0 -i ../rockdodger-0.6.0a-gcc41.patch || return 1
  sed -i 's|/usr/share/rockdodger/.highscore|/var/games/rockdodger.highscore|' main.c || return 1
  sed -i "s|\./data|/usr/share/rockdodger/data|" main.c || return 1
  sed -i -e "s:-g:${CFLAGS}:" Makefile || return 1
  make || return 1
 
- install -D -m755 rockdodger $pkgdir/usr/bin/rockdodger
- install -d $pkgdir/usr/share/rockdodger/data
- install -m644 data/*.{bmp,png,wav,mod} $pkgdir/usr/share/rockdodger/data
+ install -D -m755 rockdodger ${pkgdir}/usr/bin/rockdodger
+ install -d ${pkgdir}/usr/share/rockdodger/data
+ install -m644 data/*.{bmp,png,wav,mod} ${pkgdir}/usr/share/rockdodger/data
 
- chown root:games $pkgdir/usr/bin/rockdodger
- chmod 2755 $pkgdir/usr/bin/rockdodger
- install -d $pkgdir/var/games
- chown root:games $pkgdir/var/games
- chmod 775 $pkgdir/var/games
+ chown root:games ${pkgdir}/usr/bin/rockdodger
+ chmod 2755 ${pkgdir}/usr/bin/rockdodger
+ install -d ${pkgdir}/var/games
+ chown root:games ${pkgdir}/var/games
+ chmod 775 ${pkgdir}/var/games
 }




More information about the arch-commits mailing list