summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 737a1c81fbd..3d52e34f1dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,5 +36,23 @@ package() {
cd /opt/pocsuite
python2 pocsuite.py "\$@"
EOF
+ cat > "$pkgdir/usr/bin/pcs-console" << EOF
+#!/bin/bash
+cd /opt/pocsuite
+python2 pcs-console.py "\$@"
+EOF
+ cat > "$pkgdir/usr/bin/pcs-attack" << EOF
+#!/bin/bash
+cd /opt/pocsuite
+python2 pcs-attack.py "\$@"
+EOF
+ cat > "$pkgdir/usr/bin/pcs-verify" << EOF
+#!/bin/bash
+cd /opt/pocsuite
+python2 pcs-verify.py "\$@"
+EOF
chmod 755 "$pkgdir/usr/bin/pocsuite"
+ chmod 755 "$pkgdir/usr/bin/pcs-console"
+ chmod 755 "$pkgdir/usr/bin/pcs-attack"
+ chmod 755 "$pkgdir/usr/bin/pcs-verify"
}