summaryrefslogtreecommitdiff
path: root/repo/oksh/oksh.xibuild
blob: eafaab739b93953f33f3d734ca645c1add9ca65a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

NAME="oksh"
DESC="Portable OpenBSD ksh, based on the Public Domain KornShell (pdksh)"

MAKEDEPS="make "
DEPS="sbase musl "

PKG_VER=7.1
SOURCE="https://github.com/ibara/oksh/archive/oksh-$PKG_VER.tar.gz"

build () {
    ./configure \
        --prefix=/usr \
        --bindir=/usr/bin
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}