From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/desmume/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++++ community/desmume/desmume.install | 11 ++++++++++ 2 files changed, 55 insertions(+) create mode 100644 community/desmume/PKGBUILD create mode 100644 community/desmume/desmume.install (limited to 'community/desmume') 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 +# Contributor: Jonathan Conder +# Contributor: Brad Fanella +# Contributor: Arkham +# Contributor: Nathan Jones +# Contributor: Javier "Phrodo_00" Aravena +# Contributor: angvp +# Contributor: Allan +# Contributor: w0rm +# Contributor: vEX +# Contributor: Asher256 + +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 +} -- cgit v1.2.3-54-g00ecf