summaryrefslogtreecommitdiffstats
path: root/osh
diff options
context:
space:
mode:
authorYigit Sever2021-10-29 01:30:24 +0300
committerYigit Sever2021-10-29 01:30:24 +0300
commit31d147b20c67d95a9e306d0749200bf964ac42af (patch)
treeb0fbe2bb5aa0fec9983746a91d188643ca93466d /osh
parent4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff)
downloadpackages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz
packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2
packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip
Use actual files instead of submodules
Diffstat (limited to 'osh')
m---------osh0
-rw-r--r--osh/.SRCINFO13
-rw-r--r--osh/PKGBUILD32
3 files changed, 45 insertions, 0 deletions
diff --git a/osh b/osh
deleted file mode 160000
Subproject 32d84760cb091b121a71194a4da7a70281d6464
diff --git a/osh/.SRCINFO b/osh/.SRCINFO
new file mode 100644
index 0000000..05350fa
--- /dev/null
+++ b/osh/.SRCINFO
@@ -0,0 +1,13 @@
1pkgbase = osh
2 pkgdesc = Oil Shell - A bash-compatible UNIX shell written in Python
3 pkgver = 0.9.3
4 pkgrel = 1
5 url = https://www.oilshell.org/
6 arch = any
7 license = Apache
8 optdepends = readline: interactive features
9 options = !strip
10 source = https://www.oilshell.org/download/oil-0.9.3.tar.xz
11 sha256sums = 62f36072f69f3378e03b79d8d5255c1d136094ec11410db4f16ee82f1660efda
12
13pkgname = osh
diff --git a/osh/PKGBUILD b/osh/PKGBUILD
new file mode 100644
index 0000000..11a757f
--- /dev/null
+++ b/osh/PKGBUILD
@@ -0,0 +1,32 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Qontinuum <qontinuum@artixlinux.org>
3# Contributor: timetoplatypus <timetoplatypus@protonmail.com>
4# Contributor: andychu <andy@oilshell.org>
5
6pkgname=osh
7pkgver=0.9.3
8pkgrel=1
9pkgdesc="Oil Shell - A bash-compatible UNIX shell written in Python"
10arch=('any')
11url="https://www.oilshell.org/"
12license=("Apache")
13options=(!strip)
14optdepends=("readline: interactive features")
15source=("https://www.oilshell.org/download/oil-$pkgver.tar.xz")
16sha256sums=('62f36072f69f3378e03b79d8d5255c1d136094ec11410db4f16ee82f1660efda')
17
18prepare() {
19 mkdir -p tmp
20 sed 's/TMP=${TMPDIR:-\/tmp}/TMP=..\/tmp/' -i "oil-$pkgver/configure"
21}
22
23build() {
24 cd "oil-$pkgver"
25 ./configure --prefix="/usr"
26 make $MAKEFLAGS
27}
28
29package() {
30 cd "oil-$pkgver"
31 DESTDIR="$pkgdir/" ./install
32}