summaryrefslogtreecommitdiff
path: root/community/desmume
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/desmume
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/desmume')
-rw-r--r--community/desmume/PKGBUILD44
-rw-r--r--community/desmume/desmume.install11
2 files changed, 55 insertions, 0 deletions
diff --git a/community/desmume/PKGBUILD b/community/desmume/PKGBUILD
new file mode 100644
index 000000000..2df6273f0
--- /dev/null
+++ b/community/desmume/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 89975 2013-05-06 15:32:51Z schuay $
+# Maintainer: schuay <jakob.gruber@gmail.com>
+# Contributor: Jonathan Conder <jonno dot conder at gmail dot com>
+# Contributor: Brad Fanella <bradfanella@archlinux.us>
+# Contributor: Arkham <arkham at archlinux dot us>
+# Contributor: Nathan Jones <nathanj@insightbb.com>
+# Contributor: Javier "Phrodo_00" Aravena <phrodo.00 at gmail dot com>
+# Contributor: angvp <angvp at archlinux dot us>
+# Contributor: Allan <mcrae_allan at hotmail dot com>
+# Contributor: w0rm <w0rmtux at gmail dot com>
+# Contributor: vEX <vex at niechift dot com>
+# Contributor: Asher256 <achrafcherti at gmail dot com>
+
+pkgname=desmume
+pkgver=0.9.9
+pkgrel=2
+pkgdesc="Nintendo DS emulator"
+arch=('i686' 'x86_64')
+url="http://desmume.org/"
+license=('GPL')
+depends=('agg' 'gtkglext' 'libglade' 'desktop-file-utils' 'libpcap'
+ 'soundtouch' 'alsa-lib' 'zziplib' 'glu')
+makedepends=('intltool' 'mesa')
+install=desmume.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # See https://bugs.archlinux.org/task/35086 and
+ # https://sourceforge.net/tracker/?func=detail&aid=3612768&group_id=164579&atid=832291
+ sed -i 's/@GETTEXT_PACKAGE@/desmume/' po/Makefile.in.in
+
+ ./configure --prefix=/usr --enable-wifi
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+md5sums=('458b5f8b3dbb38a47e6d0518f97aa82a')
diff --git a/community/desmume/desmume.install b/community/desmume/desmume.install
new file mode 100644
index 000000000..e111ef946
--- /dev/null
+++ b/community/desmume/desmume.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}