blob: 39f5ff3dd4495596e937efd57e264addb20c7612 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
#build() {
#cd "$srcdir/${pkgname%-git}"
#autoreconf --force --install --symlink
#./configure --prefix=/usr
#make
#}
#check() {
#cd "$srcdir/${pkgname%-git}"
#make -k check
#}
#package() {
#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%-git}"
# 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%-git}"
#patch -p1 -i "$srcdir/${pkgname%-git}.patch"
}
build() {
cd "$srcdir/${pkgname%-git}"
./autogen.sh
./configure --prefix=/usr
make
}
check() {
cd "$srcdir/${pkgname%-git}"
make -k check
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|