mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 12:17:36 +00:00
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.
This commit is contained in:
parent
317ca37dc6
commit
81a2f09a80
5 changed files with 108 additions and 5 deletions
|
@ -1,7 +1,12 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=nesalizer
|
||||
version=git
|
||||
workdir=${port}-master
|
||||
makeopts=("CONF=release" "EXTRA=-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2")
|
||||
files="https://github.com/SerenityPorts/nesalizer/archive/master.zip nesalizer-master.zip"
|
||||
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/"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue