diff options
author | binaryplease | 2016-10-12 15:25:40 +0200 |
---|---|---|
committer | binaryplease | 2016-10-12 15:25:40 +0200 |
commit | 46fc17b5d634a2b85bdbf64ecee458c3a9169a0d (patch) | |
tree | d0ddd010f6ddc1ee7f77b3cd9a2c0a64abd1249b | |
parent | 3e635050ce4036c1c06c5e282c13048f3cbfaae3 (diff) | |
download | aur-46fc17b5d634a2b85bdbf64ecee458c3a9169a0d.tar.gz |
corrected PKGBUILD file
-rw-r--r-- | .SRCINFO | 49 | ||||
-rw-r--r-- | PKGBUILD | 84 |
2 files changed, 92 insertions, 41 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Wed Oct 12 13:14:03 UTC 2016 +# Wed Oct 12 13:25:14 UTC 2016 pkgbase = fluxion-git pkgdesc = Fluxion is a remake of linset by vk496 with less bugs and more features. pkgver = 0.0.0 @@ -9,27 +9,32 @@ pkgbase = fluxion-git arch = i686 license = GNU makedepends = git - makedepends = aircrack-ng - makedepends = gawk - makedepends = bully - makedepends = curl - makedepends = dhcp - makedepends = hostapd - makedepends = wireless_tools - makedepends = lighttpd - makedepends = macchanger - makedepends = mdk3 - makedepends = nmap - makedepends = openssl - makedepends = php-cgi - makedepends = pyrit - makedepends = python - makedepends = reaver - makedepends = rfkill - makedepends = unzip - makedepends = xterm - makedepends = zenity - makedepends = binutils + depends = git + depends = aircrack-ng + depends = gawk + depends = bully + depends = curl + depends = dhcp + depends = hostapd + depends = wireless_tools + depends = lighttpd + depends = macchanger + depends = mdk3 + depends = nmap + depends = openssl + depends = php-cgi + depends = pyrit + depends = python + depends = reaver + depends = rfkill + depends = unzip + depends = xterm + depends = zenity + depends = binutils + provides = fluxion + conflicts = fluxion + source = fluxion::git+https://github.com/deltaxflux/fluxion.git#branch=master + md5sums = SKIP pkgname = fluxion-git @@ -1,22 +1,4 @@ -# Maintainer: binaryplease <binaryplease@gmail.com> -pkgname=fluxion-git -pkgver=0.0.0 -pkgrel=1 -pkgdesc="Fluxion is a remake of linset by vk496 with less bugs and more features." -arch=('x86_64' 'i686') -url="https://github.com/deltaxflux/fluxion" -license=('GNU') -#depends=('readline' 'ncurses') -makedepends=('git' 'aircrack-ng' 'gawk' 'bully' 'curl' 'dhcp' 'hostapd' 'wireless_tools' 'lighttpd' 'macchanger' 'mdk3' 'nmap' 'openssl' 'php-cgi' 'pyrit' 'python' 'reaver' 'rfkill' 'unzip' 'xterm' 'zenity' 'binutils') -#provides=("${pkgname%-git}") -#conflicts=("${pkgname%-git}") -#source=("${pkgname%-git}::git+git://git.code.sf.net/p/abook/git#branch=master") -#md5sums=('SKIP') - -#pkgver() { - #cd "$srcdir/${pkgname%-git}" - #git describe --tags | sed 's/ver_//;s/_/./g;s/-/.r/;s/-/./' -#} + #build() { #cd "$srcdir/${pkgname%-git}" @@ -34,3 +16,67 @@ makedepends=('git' 'aircrack-ng' 'gawk' 'bully' 'curl' 'dhcp' 'hostapd' 'wireles #cd "$srcdir/${pkgname%-git}" #make DESTDIR="$pkgdir/" install #} + + + + +#################### + +# and remove these comments. For more information, see 'man PKGBUILD'. + +# Maintainer: binaryplease <binaryplease@gmail.com> +pkgname=fluxion-git +pkgver=0.0.0 +pkgrel=1 +pkgdesc="Fluxion is a remake of linset by vk496 with less bugs and more features." +arch=('x86_64' 'i686') +url="https://github.com/deltaxflux/fluxion" +license=('GNU') +groups=() +makedepends=('git') +depends=('git' 'aircrack-ng' 'gawk' 'bully' 'curl' 'dhcp' 'hostapd' 'wireless_tools' 'lighttpd' 'macchanger' 'mdk3' 'nmap' 'openssl' 'php-cgi' 'pyrit' 'python' 'reaver' 'rfkill' 'unzip' 'xterm' 'zenity' 'binutils') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=() +install= +source=("${pkgname%-git}::git+https://github.com/deltaxflux/fluxion.git#branch=master") +noextract=() +md5sums=('SKIP') + +# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for +# a description of each element in the source array. + +pkgver() { + cd "$srcdir/${pkgname%-VCS}" + + +# Git, tags available + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + +# Git, no tags available + #printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/${pkgname%-VCS}" + patch -p1 -i "$srcdir/${pkgname%-VCS}.patch" +} + +build() { + cd "$srcdir/${pkgname%-VCS}" + ./autogen.sh + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/${pkgname%-VCS}" + make -k check +} + +package() { + cd "$srcdir/${pkgname%-VCS}" + make DESTDIR="$pkgdir/" install +} |