blob: 3e0a1464fe5fe4298fdc81eebe1824029cdd0b97 (
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
|
# Maintainer: Jean-Claude Graf <mail@jeanclaudegraf.ch>
pkgname=linux-router
pkgver=0.7.3
pkgrel=1
pkgdesc='Set Linux as router in one command'
url='https://github.com/garywill/linux-router'
arch=(any)
license=(LGPL)
depends=(bash procps-ng iproute2 dnsmasq iptables)
optdepends=(
'hostapd: WiFi hotspot capability',
'iw: WiFi hotspot capability',
'iwconfig: if "iw" can not recognize your adapter',
'haveged: improve random entropy',
'qrencode: QR code support')
provides=(lnxrouter linuxrouter)
source=("$pkgname-$pkgver.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('47549ce9cfc18b50455732e90f9979f91dcc645511441b232f10347d947f1f07')
package() {
cd "$pkgname-$pkgver"
install -Dm755 lnxrouter -t "$pkgdir/usr/bin"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/lnxrouter"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/lnxrouter"
}
# vim: ts=2 sw=2 et:
|