serenity/Ports/nesalizer/package.sh
EWouters 81a2f09a80 Ports: Return nesalizer to upstream
This makes https://github.com/SerenityPorts/nesalizer obsolete.

The patch that hardcoded the SDL2 location is removed. The the patches
to the `Makefile` are quashed. A new install function is added.
2022-05-25 22:55:59 +01:00

13 lines
475 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=nesalizer
version=5bb045845a5cc829a78b7384f848fdd886cd98c8
files="https://github.com/ulfalizer/nesalizer/archive/${version}.tar.gz ${port}-${version}.tar.gz 4282cb0e4af0585af4a594dfa30b2e350dd0efc39e5bc2d8312f637f50397107"
auth_type=sha256
depends=("SDL2")
makeopts+=("CONF=release")
install() {
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin/"
run cp build/nesalizer "${SERENITY_INSTALL_ROOT}/usr/local/bin/"
}