aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.build
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-10-19 10:38:21 +0200
committerDennis Eriksen <d@ennis.no>2019-10-19 10:38:21 +0200
commitdfa175a2386823a63fd5ce3172f7da89ca9b6f6d (patch)
tree7891e676330ca171493042ba09a136284de2a526 /mkosi.build
downloadmkosi-filebin-dfa175a2386823a63fd5ce3172f7da89ca9b6f6d.tar.gz
initial commit
Diffstat (limited to '')
-rwxr-xr-xmkosi.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/mkosi.build b/mkosi.build
new file mode 100755
index 0000000..1956aa9
--- /dev/null
+++ b/mkosi.build
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+cd $SRCDIR
+mkdir src bin pkg
+export GOPATH="${SRCDIR}"
+export PATH="${PATH}:${GOPATH}/bin"
+go get -d github.com/espebra/filebin
+cd ${GOPATH}/src/github.com/espebra/filebin
+make get-deps
+make install
+
+
+mv ${SRCDIR}/bin ${DESTDIR}/go