summaryrefslogtreecommitdiff
path: root/community/mednafen
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-19 22:46:30 +0000
committerroot <root@rshg047.dnsready.net>2011-05-19 22:46:30 +0000
commite2fe79d62643f0e50b1c5e194a94cb510b371cc8 (patch)
tree9c8ecff1c65af070ae8c3b849f1ef8cbc8fea7ce /community/mednafen
parentb8ea4461e461f0e1782e28b5810eb811423afa79 (diff)
Thu May 19 22:46:30 UTC 2011
Diffstat (limited to 'community/mednafen')
-rw-r--r--community/mednafen/ChangeLog6
-rwxr-xr-xcommunity/mednafen/PKGBUILD21
2 files changed, 18 insertions, 9 deletions
diff --git a/community/mednafen/ChangeLog b/community/mednafen/ChangeLog
new file mode 100644
index 000000000..a3097076c
--- /dev/null
+++ b/community/mednafen/ChangeLog
@@ -0,0 +1,6 @@
+2011-05-17 Angel Velasquez <angvp@archlinux.org>
+ * Updated to 0.8.D.3
+ * Removed fix_build patch
+ * Cleaned PKGBUILD
+ * Adding ChangeLog
+
diff --git a/community/mednafen/PKGBUILD b/community/mednafen/PKGBUILD
index 7a8060e07..88e469afc 100755
--- a/community/mednafen/PKGBUILD
+++ b/community/mednafen/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: kagan <juanynie@mi.madritel.es>
pkgname=mednafen
-pkgver=0.8.D
+pkgver=0.8.D.3
pkgrel=1
pkgdesc="A command-line multi-system gaming emulator"
url="http://mednafen.sourceforge.net/"
@@ -10,14 +10,17 @@ license=(GPL)
arch=('i686' 'x86_64')
depends=('libcdio>=0.82' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib')
makedepends=('pkgconfig' 'mesa')
-source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2 fix_build.diff)
-md5sums=('4c3f337f80bf54d2df0f3a0f24203141'
- '0f44ef41b0220b66579626548d044f15')
+changelog=ChangeLog
+source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2)
+md5sums=('57d22805071becd81858b0c088a275e5')
build() {
cd $srcdir/$pkgname
- patch -Np1 -i $srcdir/fix_build.diff || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname
make DESTDIR=$pkgdir install
}