# Maintainer: Yigit Sever # Contributor: Qontinuum # Contributor: timetoplatypus # Contributor: andychu pkgname=osh pkgver=0.9.5 pkgrel=1 pkgdesc="Oil Shell - A bash-compatible UNIX shell written in Python" arch=('any') url="https://www.oilshell.org/" license=("Apache") options=(!strip) optdepends=("readline: interactive features") source=("https://www.oilshell.org/download/oil-$pkgver.tar.xz") sha256sums=('d89d8c081c8bc536dfc7b437b965a265c07e24cf5142ff26b21b4cc4a3139e32') prepare() { mkdir -p tmp sed 's/TMP=${TMPDIR:-\/tmp}/TMP=..\/tmp/' -i "oil-$pkgver/configure" } build() { cd "oil-$pkgver" ./configure --prefix="/usr" make $MAKEFLAGS } package() { cd "oil-$pkgver" DESTDIR="$pkgdir/" ./install }