summaryrefslogtreecommitdiff
path: root/install.do
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-06-22 13:39:07 -0400
committerSam Nystrom <sam@samnystrom.dev>2023-06-22 13:39:07 -0400
commit245c4d9839182fbbf6a84a7ca2c678426bb020f4 (patch)
tree9ed6526f5d8f945e59c06624cf0e2de6a33b54ff /install.do
init
Diffstat (limited to 'install.do')
-rw-r--r--install.do6
1 files changed, 6 insertions, 0 deletions
diff --git a/install.do b/install.do
new file mode 100644
index 0000000..0f393b6
--- /dev/null
+++ b/install.do
@@ -0,0 +1,6 @@
+PREFIX="${PREFIX:-/usr}"
+BINDIR="${BINDIR:-$PREFIX/bin}"
+
+if haredo all; then
+ install -Dm755 ./srtplay "$BINDIR"/srtplay
+fi