aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/mednafen/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/mednafen/APKBUILD b/testing/mednafen/APKBUILD
index 7bd83b1abe..367605758a 100644
--- a/testing/mednafen/APKBUILD
+++ b/testing/mednafen/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=mednafen
pkgver=0.9.36.5
-pkgrel=0
+pkgrel=1
pkgdesc="A command-line multi-system emulator"
url="http://mednafen.sourceforge.net"
arch="all"
@@ -11,7 +11,7 @@ depends=""
depends_dev="alsa-lib-dev libcdio-dev libsndfile-dev sdl-dev zlib-dev"
makedepends="$depends_dev mesa-dev glu-dev paxctl"
install=""
-subpackages=""
+subpackages="$pkgname-lang"
source="https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
01-fix_help.patch
02-sdl_by_default.patch"
@@ -20,6 +20,7 @@ _builddir="$srcdir"/$pkgname
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -29,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr || return 1
make || return 1
}