aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.sh
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.sh')
-rw-r--r--INSTALL.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/INSTALL.sh b/INSTALL.sh
new file mode 100644
index 0000000..e665442
--- /dev/null
+++ b/INSTALL.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+BINDIR=${DESTDIR}${BINDIR:-/usr/bin}
+CONFDIR=${DESTDIR}${CONFDIR:-/etc}
+
+mkdir -p ${BINDIR} ${CONFDIR}
+
+install -m755 apkg ${BINDIR}
+install -m755 apkg-* ${BINDIR}
+install -m755 revdep updateconf ${BINDIR}
+install -m644 doc/apkg.conf.readme ${CONFDIR}/apkg.conf