summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlightning11412015-09-17 13:39:37 +0800
committerlightning11412015-09-17 13:39:37 +0800
commit452fe766a620c657b9d0abe5b6a64227207231b8 (patch)
tree327f70a0a51ae290ea5845246d25d7f13c138d18 /PKGBUILD
parent2b98e50982403920320f0ee17daee342050df196 (diff)
downloadaur-452fe766a620c657b9d0abe5b6a64227207231b8.tar.gz
add pcs-console, pcs-attack, pcs-verify
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"
}