From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- osh | 1 - osh/.SRCINFO | 13 +++++++++++++ osh/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) delete mode 160000 osh create mode 100644 osh/.SRCINFO create mode 100644 osh/PKGBUILD (limited to 'osh') diff --git a/osh b/osh deleted file mode 160000 index 32d8476..0000000 --- a/osh +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 32d84760cb091b121a71194a4da7a70281d6464a diff --git a/osh/.SRCINFO b/osh/.SRCINFO new file mode 100644 index 0000000..05350fa --- /dev/null +++ b/osh/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = osh + pkgdesc = Oil Shell - A bash-compatible UNIX shell written in Python + pkgver = 0.9.3 + pkgrel = 1 + url = https://www.oilshell.org/ + arch = any + license = Apache + optdepends = readline: interactive features + options = !strip + source = https://www.oilshell.org/download/oil-0.9.3.tar.xz + sha256sums = 62f36072f69f3378e03b79d8d5255c1d136094ec11410db4f16ee82f1660efda + +pkgname = 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 @@ +# Maintainer: Yigit Sever +# Contributor: Qontinuum +# Contributor: timetoplatypus +# Contributor: andychu + +pkgname=osh +pkgver=0.9.3 +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=('62f36072f69f3378e03b79d8d5255c1d136094ec11410db4f16ee82f1660efda') + +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 +} -- cgit v1.2.3-70-g09d2