summaryrefslogtreecommitdiff
path: root/repo/elvish/elvish.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 23:15:23 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 23:15:23 +0100
commite4a392b4e1e547c9569abdd1f08ec51da3dc4562 (patch)
treef23f62b3d309e332dd1d37b4c6ff5addc2c65453 /repo/elvish/elvish.xibuild
parente17a6ad453835a5c7d8a277c625688750a62e28d (diff)
added netcat
Diffstat (limited to 'repo/elvish/elvish.xibuild')
-rw-r--r--repo/elvish/elvish.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/elvish/elvish.xibuild b/repo/elvish/elvish.xibuild
new file mode 100644
index 0000000..f4be280
--- /dev/null
+++ b/repo/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.15.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
+}
+