summaryrefslogtreecommitdiff
path: root/Ports/awk/package.sh
blob: 388b82f925c642a534af6c07c34125b23f53da3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env -S bash ../.port_include.sh
port=awk
version=20220122
useconfigure="false"
files="https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz awk-${version}.tar.xz 720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042"
auth_type=sha256
patchlevel=1

build() {
    run make "${makeopts[@]}"
    run mv a.out awk
}

install() {
    run mkdir -p ${SERENITY_INSTALL_ROOT}/usr/local/bin/
    run cp awk ${SERENITY_INSTALL_ROOT}/usr/local/bin/
}