summaryrefslogtreecommitdiff
path: root/packages/pam_tacplus/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pam_tacplus/build.sh')
-rwxr-xr-xpackages/pam_tacplus/build.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/pam_tacplus/build.sh b/packages/pam_tacplus/build.sh
new file mode 100755
index 00000000..fe4b06c8
--- /dev/null
+++ b/packages/pam_tacplus/build.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+CWD=$(pwd)
+set -e
+
+SRC=pam_tacplus
+if [ ! -d ${SRC} ]; then
+ echo "Source directory does not exists, please 'git clone'"
+ exit 1
+fi
+
+cd ${SRC}
+cp -a ../pam_tacplus-debian debian
+rm -f debian/compat
+
+dpkg-buildpackage -uc -us -tc -b -d