You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
619 B
34 lines
619 B
#!/bin/bash
|
|
|
|
pkgname=oksh
|
|
pkgver=7.1
|
|
pkgrel=1
|
|
pkgdesc="portable OpenBSD (pd)ksh."
|
|
arch=(x86_64)
|
|
url="https://github.com/ibara/oksh"
|
|
license=(custom:Public Domain)
|
|
groups=()
|
|
depends=()
|
|
|
|
source=(
|
|
"${url}/releases/download/oksh-${pkgver}/oksh-${pkgver}.tar.gz"
|
|
)
|
|
sha256sums=(
|
|
"9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064"
|
|
)
|
|
|
|
unpacked_dir="${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
build() {
|
|
cd $PWD/$unpacked_dir
|
|
./configure --disable-curses
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $PWD/$unpacked_dir
|
|
install -d "${pkgdir}/usr/bin"
|
|
install -m 0755 oksh "${pkgdir}/usr/bin"
|
|
ln -sf /usr/bin/oksh ${pkgdir}/usr/bin/sh
|
|
}
|