2021-04-05 23:58:01 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2022-06-03 19:52:21 +03:00
|
|
|
port='oksh'
|
|
|
|
version='7.1'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-02 07:32:27 +03:00
|
|
|
"https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz#9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2022-06-03 19:52:21 +03:00
|
|
|
useconfigure='true'
|
2021-09-27 01:16:18 +03:00
|
|
|
depends=("ncurses")
|
2021-04-05 23:58:01 +03:00
|
|
|
|
2022-06-03 19:52:21 +03:00
|
|
|
export LDFLAGS='-lncurses'
|
2021-11-06 00:32:10 +03:00
|
|
|
|
2021-04-05 23:58:01 +03:00
|
|
|
configure() {
|
|
|
|
run ./configure --no-thanks
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2022-06-03 19:52:21 +03:00
|
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
|
|
|
run cp oksh "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
2021-04-05 23:58:01 +03:00
|
|
|
}
|