summaryrefslogtreecommitdiff
path: root/user/xmoto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xmoto/APKBUILD')
-rw-r--r--user/xmoto/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/xmoto/APKBUILD b/user/xmoto/APKBUILD
index 62bbdd1e7..f13b7d68d 100644
--- a/user/xmoto/APKBUILD
+++ b/user/xmoto/APKBUILD
@@ -10,7 +10,8 @@ license="GPL-2.0+"
depends=""
makedepends="bzip2-dev curl-dev glu-dev libjpeg-turbo-dev libpng-dev
libxdg-basedir-dev libxml2-dev lua5.3-dev mesa-dev ode-dev sdl-dev
- sdl_mixer-dev sdl_net-dev sdl_ttf-dev sqlite-dev zlib-dev"
+ sdl_mixer-dev sdl_net-dev sdl_ttf-dev sqlite-dev zlib-dev
+ autoconf automake"
subpackages="$pkgname-doc $pkgname-lang"
source="http://download.tuxfamily.org/xmoto/xmoto/0.5.11/xmoto-$pkgver-src.tar.gz
stupid-lua.patch
@@ -18,14 +19,12 @@ source="http://download.tuxfamily.org/xmoto/xmoto/0.5.11/xmoto-$pkgver-src.tar.g
"
prepare() {
- cd "$builddir"
default_prepare
update_config_sub
rm -r src/ode
}
build() {
- cd "$builddir"
./bootstrap
CPPFLAGS="$CPPFLAGS -D_GLIBCXX_USE_CXX11_ABI=0" \
LDFLAGS="$LDFLAGS $(pkg-config --libs lua)" \
@@ -41,12 +40,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 "$builddir"/extra/xmoto.desktop \
"$pkgdir"/usr/share/applications/xmoto.desktop