upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / create_ap / trunk / PKGBUILD
blob27a1b7d1d520b18352453b232de1f0a7c8561c38
1 # Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
2 # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
3 # Contributor: Xiaoxiao Pu <i@xiaoxiao.im>
5 pkgname=create_ap
6 pkgver=0.4.6
7 pkgrel=3
8 pkgdesc="A shell script to create a NATed/Bridged Software Access Point"
9 arch=('any')
10 url="https://github.com/oblique/create_ap"
11 license=('BSD')
12 depends=('bash' 'hostapd' 'iproute2' 'iw' 'dnsmasq'
13          'iptables' 'util-linux' 'procps-ng' 'which')
14 optdepends=('haveged: boost low entropy')
15 backup=('etc/create_ap.conf')
16 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/oblique/${pkgname}/archive/v${pkgver}.tar.gz"
17 "${pkgname}-${pkgver}.tar.gz.sig::https://github.com/oblique/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig")
18 sha512sums=('38100296a87eb8f5a29b7e3eff618cd2518859b5a3e24a08058b3839149b159a81a3f12976d1217d5798708bbc5e44dfaceab2f4e636339cdf8a5c0f5c06bd2d'
19             'SKIP')
20 validpgpkeys=('B45B5508C1D79EAE40CA6C8A3532E98C712BFD5C')
22 package() {
23     make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install
24     install -Dm 644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"