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

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

MAKEDEPS="make "

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
}