diff options
author | NicoHood | 2016-10-24 18:59:52 +0200 |
---|---|---|
committer | NicoHood | 2016-10-24 18:59:52 +0200 |
commit | e375b41644e93521bbf3f3f39eb3d4b5ac0c121e (patch) | |
tree | ecf5380031ed612d2c151cb23ee07c5e00d93d59 | |
parent | 1599c05409b722cf61b992bc7fa8747b5a235a35 (diff) | |
download | aur-e375b41644e93521bbf3f3f39eb3d4b5ac0c121e.tar.gz |
update 0.4
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | create_ap.install | 0 |
3 files changed, 17 insertions, 22 deletions
@@ -1,14 +1,10 @@ -# Generated by mksrcinfo v8 -# Wed Jul 20 10:23:02 UTC 2016 pkgbase = create_ap pkgdesc = A shell script to create a NATed/Bridged Software Access Point - pkgver = r206.a7fa8b5 + pkgver = 0.4 pkgrel = 1 url = https://github.com/oblique/create_ap - install = create_ap.install arch = any license = BSD - makedepends = git depends = bash depends = hostapd depends = iproute2 @@ -18,9 +14,9 @@ pkgbase = create_ap depends = util-linux depends = procps-ng optdepends = haveged: boost low entropy - backup = usr/lib/systemd/system/create_ap.service - source = git+https://github.com/oblique/create_ap - sha256sums = SKIP + backup = etc/create_ap.conf + source = https://github.com/oblique/create_ap/archive/v0.4.tar.gz + sha512sums = 42fe72aa06c0f2c5e5156276281b93a97954ca3f32e9f315a09d40b4abf2169a0dd1089fe993110f6b39b09661df8a4d9da46ed46b125d9beca2673faaa35a40 pkgname = create_ap @@ -1,7 +1,8 @@ -# Maintainer: Xiaoxiao Pu <i@xiaoxiao.im> +# Maintainer: NicoHood <aur {at} nicohood {dot} de> +# Contributor: Xiaoxiao Pu <i@xiaoxiao.im> pkgname=create_ap -pkgver=r206.a7fa8b5 +pkgver=0.4 pkgrel=1 pkgdesc="A shell script to create a NATed/Bridged Software Access Point" arch=('any') @@ -10,21 +11,19 @@ license=('BSD') depends=('bash' 'hostapd' 'iproute2' 'iw' 'dnsmasq' 'iptables' 'util-linux' 'procps-ng') optdepends=('haveged: boost low entropy') -makedepends=('git') -backup=('usr/lib/systemd/system/create_ap.service') -install=create_ap.install -source=("git+https://github.com/oblique/create_ap") -sha256sums=('SKIP') - -pkgver() { - cd "${srcdir}/create_ap" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} +makedepends=('') +backup=('etc/create_ap.conf') +source=("https://github.com/oblique/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('42fe72aa06c0f2c5e5156276281b93a97954ca3f32e9f315a09d40b4abf2169a0dd1089fe993110f6b39b09661df8a4d9da46ed46b125d9beca2673faaa35a40') package() { - cd "${srcdir}/create_ap/" + cd "${srcdir}/${pkgname}-${pkgver}" install -Dm755 "create_ap" "${pkgdir}/usr/bin/create_ap" + install -Dm644 "create_ap.conf" "${pkgdir}/etc/create_ap.conf" install -Dm644 "bash_completion" "${pkgdir}/usr/share/bash-completion/completions/create_ap" - install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/create_ap/LICENSE" install -Dm644 "create_ap.service" "${pkgdir}/usr/lib/systemd/system/create_ap.service" + install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" + + # TODO requires makefile patch + #make DESTDIR="${pkgdir}" install } diff --git a/create_ap.install b/create_ap.install deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/create_ap.install +++ /dev/null |