blob: 9415eb9b5754e284f734ad1ca40e4603b4cc4c1c (
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
|
# Maintainer: dreieck
_pkgname=adhocspot-script
pkgname="${_pkgname}"
epoch=0
pkgver=20190514.1
pkgrel=1
pkgdesc="Bash script to easily configure your interface to share your internet connection and configure a DHCP and DNS and TFTP boot server to listen on it. IP, DHCP, DNS can be configured, and for WiFi interfaces also wireless mode and encryption."
arch=('any')
license=('custom: Public Domain')
groups=(
)
depends=(
"bash"
"dnsmasq"
"iptables"
"net-tools"
"wireless_tools"
"wpa_supplicant"
)
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
install='adhocspot-script.install'
source=(
"adhocspot.sh"
"copying.txt"
"adhocspot-script.install"
)
sha256sums=(
"cfef5612694f371e5c4f1eb81433429e4a2db069a834fe1e72783eba69c436bf"
"c3cbff25307e905545788f5c74cc137d79706c60549092f2a37919b93cf55ee3"
"f05052583b9d7ba8215897bc621fea38d18fea20e1040fcbda4fd2ab76fc8867"
)
pkgver() {
"${srcdir}/adhocspot.sh" --version
}
package() {
_licdirbase="/usr/share/licenses/${pkgname}"
_licdir="${pkgdir}/${_licdirbase}"
_execdirbase='/usr/bin'
_execdir="${pkgdir}/${_execdirbase}"
_rundirbase="/run/adhocspot"
_rundir="${pkgdir}/${_rundirbase}"
install -v -D -m755 "${srcdir}/adhocspot.sh" "${_execdir}/adhocspot.sh"
install -v -D -m644 "${srcdir}/copying.txt" "${_licdir}/copying.txt"
install -v -d -m755 "${_rundir}"
}
|