summaryrefslogtreecommitdiff
path: root/user/opensfx
diff options
context:
space:
mode:
Diffstat (limited to 'user/opensfx')
-rw-r--r--user/opensfx/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/opensfx/APKBUILD b/user/opensfx/APKBUILD
index 00093833d..130747b3b 100644
--- a/user/opensfx/APKBUILD
+++ b/user/opensfx/APKBUILD
@@ -14,20 +14,17 @@ source="https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-$pkgver-source.
builddir="$srcdir/$pkgname-$pkgver-source"
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
- install -D -m644 -g games opensfx.cat \
+ install -D -m644 -g games "$builddir"/opensfx.cat \
"$pkgdir"/usr/share/games/openttd/data/opensfx.cat
- install -D -m644 -g games opensfx.obs \
+ install -D -m644 -g games "$builddir"/opensfx.obs \
"$pkgdir"/usr/share/games/openttd/data/opensfx.obs
}