summaryrefslogtreecommitdiff
path: root/skip/elvish/elvish.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /skip/elvish/elvish.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'skip/elvish/elvish.xibuild')
-rw-r--r--skip/elvish/elvish.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/skip/elvish/elvish.xibuild b/skip/elvish/elvish.xibuild
new file mode 100644
index 0000000..dd97671
--- /dev/null
+++ b/skip/elvish/elvish.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+NAME="elvish"
+DESC="A friendly and expressive shell for Linux, macOS and BSDs"
+
+MAKEDEPS=" go"
+
+PKG_VER=0.18.0
+SOURCE="https://github.com/elves/elvish/archive/v$PKG_VER.tar.gz"
+
+build() {
+ mkdir gopath
+ export GOPATH="$BUILD_ROOT/gopath"
+ go build -o bin/elvish
+}
+
+package() {
+ install -Dm755 bin/elvish "$PKG_DEST"/usr/bin
+}
+