blob: e2447bad9ea76a737f1af5a9c7de750ceed4a47a (
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
|
# Maintainer: Dimitrios Vogiatzis <me@dimtree.net>
# Contributor: Xiaoxiao Pu <i@xiaoxiao.im>
pkgname=create_ap-git
pkgver=r252.016fd2b
pkgrel=1
pkgdesc="A shell script to create a NATed/Bridged Software Access Point"
arch=('any')
url="https://github.com/oblique/create_ap"
license=('BSD')
depends=('hostapd' 'iw' 'dnsmasq' 'iptables')
optdepends=('haveged: boost low entropy')
makedepends=('git')
conflicts=('create_ap')
provides=('create_ap')
backup=('usr/lib/systemd/system/create_ap.service')
source=("$pkgname::git+https://github.com/oblique/create_ap")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/create_ap/LICENSE"
}
|