summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorLekKit <50500857+LekKit@users.noreply.github.com>2023-04-25 19:46:32 +0300
committerJelle Raaijmakers <jelle@gmta.nl>2023-04-26 12:48:56 +0200
commit9fe6dcb50bf21dc77a65b842b292855584189a79 (patch)
treea7bef0d944e5a05d1def4039c3b7cd7b731653c5 /Ports
parent1a3009fa2bce7942efeec1a64ed1d50b460cd1ff (diff)
downloadserenity-9fe6dcb50bf21dc77a65b842b292855584189a79.zip
Ports: Use makeopts in RVVM port
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/rvvm/package.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/Ports/rvvm/package.sh b/Ports/rvvm/package.sh
index 317a717c11..0b6b7480e8 100755
--- a/Ports/rvvm/package.sh
+++ b/Ports/rvvm/package.sh
@@ -7,10 +7,11 @@ auth_type='sha256'
workdir="RVVM-${version}"
depends=('sdl12-compat')
-build() {
- run make OS=SerenityOS USE_SDL=1 USE_NET=1 GIT_COMMIT=76796ba all lib
-}
-
-install() {
- run make OS=SerenityOS USE_SDL=1 USE_NET=1 GIT_COMMIT=76796ba DESTDIR="${DESTDIR}" install
-}
+build_opts=(
+ 'GIT_COMMIT=76796ba'
+ 'OS=SerenityOS'
+ 'USE_NET=1'
+ 'USE_SDL=1'
+)
+makeopts+=("${build_opts[@]}" 'all' 'lib')
+installopts+=("${build_opts[@]}")