summaryrefslogtreecommitdiff
path: root/user/xmoto/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 09:08:07 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 09:08:07 +0000
commite43c6ac7e6a5d054e6bbd47650f4b2531df91017 (patch)
tree15ef27c72b46256c95aca12b49ca10e3b117ee26 /user/xmoto/APKBUILD
parenta659f1f6d9acf841ab364e2b031a56dc1b630698 (diff)
downloadpackages-e43c6ac7e6a5d054e6bbd47650f4b2531df91017.tar.gz
packages-e43c6ac7e6a5d054e6bbd47650f4b2531df91017.tar.bz2
packages-e43c6ac7e6a5d054e6bbd47650f4b2531df91017.tar.xz
packages-e43c6ac7e6a5d054e6bbd47650f4b2531df91017.zip
user/*: Modernise / fix syntax / deps / code
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