summaryrefslogtreecommitdiff
path: root/Ports/oksh/package.sh
blob: e094797d441b46a2c28bf0207aab333986713e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env -S bash ../.port_include.sh
port='oksh'
version='7.1'
files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064"
auth_type='sha256'
useconfigure='true'
depends=("ncurses")

export LDFLAGS='-lncurses'

configure() {
    run ./configure --no-thanks
}

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