cruxports/oksh/Pkgfile

21 lines
429 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.5
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 -
}