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

Eric Bélanger eric at archlinux.org
Sat Feb 6 11:47:49 UTC 2010


    Date: Saturday, February 6, 2010 @ 06:47:49
  Author: eric
Revision: 67328

upgpkg: dosbox 0.73-3
    Fixed libpng detection, Added mesa makedepends (close FS#18143)

Modified:
  dosbox/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-06 10:27:35 UTC (rev 67327)
+++ PKGBUILD	2010-02-06 11:47:49 UTC (rev 67328)
@@ -1,15 +1,15 @@
 # $Id$
-# Maintainer: eric <eric at archlinux.org>
 # Contributor: Ben <ben at benmazer.net>
 
 pkgname=dosbox
 pkgver=0.73
-pkgrel=2
+pkgrel=3
 pkgdesc="An emulator with builtin DOS for running DOS Games"
 arch=(i686 x86_64)
 url="http://dosbox.sourceforge.net/"
 license=('GPL')
 depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs')
+makedepends=('mesa')
 source=(http://downloads.sourceforge.net/sourceforge/dosbox/$pkgname-$pkgver.tar.gz )
 md5sums=('0823a11242db711ac3d6ebfff6aff572')
 sha1sums=('e87682f8f468f3822d2f79e38e5ddb73825fa8c1')
@@ -17,8 +17,9 @@
 build()
 {
   cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --sysconfdir=/etc/dosbox
+  sed -i 's/png_check_sig/png_sig_cmp/' configure || return 1
+  ./configure --prefix=/usr --sysconfdir=/etc/dosbox || return 1
   make || return 1
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install || return 1
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list