blob: b862ba8228687505d9918840cfb7cc02be356092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Yigit Sever <yigit at yigitsever dot com>
# Contributor: Qontinuum <qontinuum@artixlinux.org>
# Contributor: timetoplatypus <timetoplatypus@protonmail.com>
# Contributor: andychu <andy@oilshell.org>
pkgname=osh
pkgver=0.9.4
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=('fac61bcd6b68c0bbf2e386aa84b107f26518527d4326bf473a02aadd85e53d02')
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
}
|