cruxports/oksh/Pkgfile
2022-11-27 10:33:29 -05:00

21 lines
422 B
Plaintext

# Description: portable Korn shell from OpenBSD
# URL: https://github.com/ibara/oksh
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: ncurses
name=oksh
version=7.2
release=1
source=(https://github.com/ibara/$name/releases/download/$name-$version/$name-$version.tar.gz)
build () {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
cd $PKG/usr/bin
ln -s oksh ksh
cd -
}