summaryrefslogtreecommitdiff
path: root/Ports/pt2-clone/package.sh
blob: aa41a621cee496ebd87c0ef56967ac2830fd4d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash ../.port_include.sh
port=pt2-clone
version=1.28
workdir=pt2-clone-$version
useconfigure=true
files="https://github.com/8bitbubsy/pt2-clone/archive/v${version}.tar.gz v${version}.tar.gz"
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt"
depends="SDL2"

configure() {
    run cmake $configopts
}

install() {
    run make install
}