summaryrefslogtreecommitdiff
path: root/user/opensfx
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 01:54:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 01:54:54 +0000
commit21c4b84eb30afc752dd0ba5965c61dfc3bebac3d (patch)
tree1ca6f553222cbe4809067ffa24d6efafdae7b8df /user/opensfx
parent5efd7da9a9a79f82b4621cfd34fb8200c51f485a (diff)
downloadpackages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.tar.gz
packages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.tar.bz2
packages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.tar.xz
packages-21c4b84eb30afc752dd0ba5965c61dfc3bebac3d.zip
user/*: Modernise / fix syntax / metadata / deps
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
}