diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-04-09 08:25:09 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-04-09 08:25:33 -0500 |
commit | 0381828da41f0c2d524f4bd2fed525b14c35c2d7 (patch) | |
tree | 7852e70772f460a8dfaa1afe9260a05dd4ef6b82 /main/bsnes/APKBUILD | |
parent | 7c36be22a3475208e976eb31f382aa9004b31c13 (diff) | |
download | aports-0381828da41f0c2d524f4bd2fed525b14c35c2d7.tar.bz2 aports-0381828da41f0c2d524f4bd2fed525b14c35c2d7.tar.xz |
main/bsnes: move from testing
Diffstat (limited to 'main/bsnes/APKBUILD')
-rw-r--r-- | main/bsnes/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/bsnes/APKBUILD b/main/bsnes/APKBUILD new file mode 100644 index 0000000000..49be44f5eb --- /dev/null +++ b/main/bsnes/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=bsnes +pkgver=0.77 +_x=${pkgver%.*} +_y=${pkgver#*.} +_pkgver="v${_x}${_y}" +pkgrel=1 +pkgdesc="high accuracy SNES emulator" +url="http://byuu.org/bsnes/" +arch="all" +license="GPL" +depends= +depends_dev="qt-dev openal-soft-dev sdl-dev alsa-lib-dev mesa-dev libao-dev libxv-dev" +makedepends="$depends_dev" +install="" +subpackages= +source="http://bsnes.googlecode.com/files/${pkgname}_${_pkgver}-source.tar.bz2 + nall-strlcpy.patch + no-pulseaudio.patch" + +_builddir="${srcdir}/${pkgname}_${_pkgver}-source/bsnes" +prepare() { + local i + cd "$_builddir/.." + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make compiler=gcc prefix=/usr profile=performance || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" prefix=/usr profile=performance install || return 1 +} + +md5sums="77cd5f73733060c0c19dfe0f5a33e0b6 bsnes_v077-source.tar.bz2 +d5017142f2cbccac878bbfc799b3445f nall-strlcpy.patch +07caea846bf49ee6f5deaf999dffbd5f no-pulseaudio.patch" |