From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [ISSUE] Package Request: Oilshell
Date: Sat, 06 Jul 2019 15:53:15 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12835@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2064 bytes --]
New issue by Wychmire on void-packages repository
https://github.com/void-linux/void-packages/issues/12835
Description: http://www.oilshell.org/
Releases are at https://www.oilshell.org/releases.html
I tried to make my own template file, but I don't know enough about xbps-src to get it working. Here's what I have, maybe it can speed things up a bit
```shell
# Template file for 'oilshell'
pkgname=oilshell
version=0.6.0
revision=2
wrksrc=oil-${version}
#archs="i686 x86_64"
build_style=gnu-configure
hostmakedepends="gcc"
makedepends="bash make readline"
#depends=""
short_desc="Oil, a new unix shell."
maintainer=" <>"
license="Apache"
homepage="http://www.oilshell.org/"
distfiles="https://${pkgname}.org/download/oil-${version}.tar.xz"
checksum=141e3a5c1997a696d65747966978aaa38921d77e303aad9e77b4ab4aedab84b7
do_configure() {
./configure --prefix=/usr
}
do_build() {
make
}
do_install() {
vbin _bin/oil.ovm
}
```
And I wrote a working Arch PKGBUILD which might also be useful:
```shell
pkgname=oilshell
pkgver=0.6.0
pkgrel=3
license=('Apache')
pkgdesc="Oil, a new unix shell"
makedepends=(
'wychmire-devel'
'readline')
arch=('i686' 'x86_64')
url="https://www.oilshell.org/"
source=("https://www.oilshell.org/download/oil-$pkgver.tar.xz")
install=oilshell.install
sha256sums=('141e3a5c1997a696d65747966978aaa38921d77e303aad9e77b4ab4aedab84b7')
provides=('oilshell')
conflicts=('oilshell')
build() {
cd "oil-$pkgver"
./configure --prefix=/usr --with-readline
make
}
package() {
cd "oil-$pkgver"
# the install script doesn't support DESTDIR
install -Dm755 _bin/oil.ovm "$pkgdir/usr/bin/oil.ovm"
ln -s /usr/bin/oil.ovm "$pkgdir/usr/bin/osh"
ln -s /usr/bin/oil.ovm "$pkgdir/usr/bin/oshc"
# for some reason osh expects itself to be in /usr/local/bin
mkdir -p "$pkgdir/usr/local/bin"
ln -s "$pkgdir/usr/bin/oil.ovm" "$pkgdir/usr/local/bin/osh"
}
```
(oilshell.install contains a simple script that checks if /usr/bin/osh exists in /etc/shells, and if not it adds it there)
next reply other threads:[~2019-07-06 13:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-06 13:53 voidlinux-github [this message]
2019-07-06 14:16 ` voidlinux-github
2019-07-06 14:17 ` voidlinux-github
2019-07-06 15:25 ` voidlinux-github
2019-07-06 16:15 ` voidlinux-github
2019-07-06 16:22 ` voidlinux-github
2019-07-06 20:59 ` voidlinux-github
2019-07-06 21:00 ` voidlinux-github
2019-07-06 21:00 ` voidlinux-github
2019-07-07 20:10 ` voidlinux-github
2019-07-09 14:31 ` [ISSUE] [CLOSED] " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12835@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).