[arch-commits] Commit in lbreakout2/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sun May 31 02:55:26 EDT 2009


    Date: Sunday, May 31, 2009 @ 02:55:25
  Author: giovanni
Revision: 40760

Merged revisions 40759 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/lbreakout2/trunk

........
  r40759 | giovanni | 2009-05-30 23:54:45 -0700 (sab, 30 mag 2009) | 2 lines
  
  upgpkg: lbreakout2 2.6beta_7-5
      Some improvements and fixed FS13824
........

Modified:
  lbreakout2/repos/extra-x86_64/	(properties)
  lbreakout2/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)


Property changes on: lbreakout2/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /lbreakout2/trunk:1-27836
   + /lbreakout2/trunk:1-40759

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-05-31 06:54:45 UTC (rev 40759)
+++ extra-x86_64/PKGBUILD	2009-05-31 06:55:25 UTC (rev 40760)
@@ -4,23 +4,26 @@
 
 pkgname=lbreakout2
 pkgver=2.6beta_7
-pkgrel=4
+pkgrel=5
 pkgdesc="A breakout game with nice effects, graphics, and sounds"
 arch=('i686' 'x86_64')
 url="http://lgames.sourceforge.net"
 license=('GPL')
 depends=('sdl_mixer' 'libpng')
 backup=(var/games/lbreakout2/lbreakout2.hscr)
-source=(http://downloads.sourceforge.net/lgames/$pkgname-${pkgver/_/-}.tar.gz)
-md5sums=('bccede972d2f73612c47ca6a5aa9770e')
+source=(http://downloads.sourceforge.net/lgames/${pkgname}-${pkgver/_/-}.tar.gz
+        lbreakout2.desktop
+	lbreakout2.png)
+md5sums=('bccede972d2f73612c47ca6a5aa9770e'
+         '14cd34a72a8f4e3b8f385f9023625241'
+	 '94e2fa393eb2a7d4494641dec580573b')
 
 build() {
-  cd $srcdir/$pkgname-${pkgver/_/-}
-  ./configure --prefix=/usr --localstatedir=/var/games/lbreakout2 
+  cd ${srcdir}/${pkgname}-${pkgver/_/-}
+  ./configure --prefix=/usr \
+              --localstatedir=/var/games/lbreakout2 
   make || return 1
-  make DESTDIR=$pkgdir/ doc_dir=/usr/share/doc install
-  install -D ../../lbreakout2.png $pkgdir/usr/share/pixmaps/lbreakout2.png
-  install -D ../../lbreakout2.desktop $pkgdir/usr/share/applications/lbreakout2.desktop
+  make DESTDIR=${pkgdir}/ doc_dir=/usr/share/doc install
   
   chmod -R 755 ${pkgdir}/usr
   chown root:games ${pkgdir}/var/games
@@ -29,4 +32,7 @@
   chmod 755 ${pkgdir}/var/games/lbreakout2
   chown root:games ${pkgdir}/var/games/lbreakout2/lbreakout2.hscr
   chmod 775 ${pkgdir}/var/games/lbreakout2/lbreakout2.hscr
+
+  install -Dm644 ${srcdir}/lbreakout2.png ${pkgdir}/usr/share/pixmaps/lbreakout2.png
+  install -Dm644 ${srcdir}/lbreakout2.desktop ${pkgdir}/usr/share/applications/lbreakout2.desktop
 }



More information about the arch-commits mailing list