summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Bounya2019-03-01 19:01:56 +0100
committerMehdi Bounya2019-03-01 19:01:56 +0100
commit557dbcac2be7751371c2a5bded256182495e3a70 (patch)
tree5b7dd9e4fda5819d2bb6c153bac66e051d8d42f3
downloadaur-557dbcac2be7751371c2a5bded256182495e3a70.tar.gz
Init commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD28
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fc880d99012
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = linset
+ pkgdesc = Evil Twin Attack Bash script
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/vk496/linset
+ arch = x86_64
+ license = GPL-3.0
+ depends = aircrack-ng
+ depends = curl
+ depends = dhcp
+ depends = hostapd
+ depends = wireless_tools
+ depends = lighttpd
+ depends = macchanger
+ depends = mdk3
+ depends = php-cgi
+ depends = pyrit
+ depends = python
+ depends = unzip
+ depends = xterm
+ source = linset::git+https://github.com/vk496/linset
+ md5sums = SKIP
+
+pkgname = linset
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7f1ab0aa65b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Mehdi Bounya <mehdi.bounya@gmail.com>
+pkgname="linset"
+pkgver=0.1
+pkgrel=1
+pkgdesc="Evil Twin Attack Bash script"
+arch=("x86_64")
+url="https://github.com/vk496/linset"
+license=("GPL-3.0")
+depends=("aircrack-ng" "curl" "dhcp" "hostapd" "wireless_tools" "lighttpd" "macchanger" "mdk3" "php-cgi" "pyrit" "python" "unzip" "xterm")
+source=(${pkgname}::git+https://github.com/vk496/linset)
+
+package() {
+ cd ${pkgname}
+ install -d "${pkgdir}/opt/${pkgname}"
+ cp -ra --no-preserve=owner . "${pkgdir}/opt/${pkgname}"
+ chmod 755 "${pkgdir}/opt/${pkgname}/${pkgname}"
+ rm -r "${pkgdir}/opt/${pkgname}/.git"
+ install -d "${pkgdir}/usr/bin"
+ cat > "${pkgdir}/usr/bin/${pkgname}" << EOF
+#!/bin/sh
+/opt/linset/linset
+EOF
+ chmod 755 "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ return 0
+}
+md5sums=('SKIP')