# Maintainer: Mark Wagie # Contributor: Dimitris Kiziridis pkgname=linux-wifi-hotspot pkgver=4.5.0 pkgrel=1 pkgdesc="Feature-rich wifi hotspot creator" arch=('x86_64' 'aarch64') url="https://github.com/lakinduakash/linux-wifi-hotspot" license=('BSD') depends=('dnsmasq' 'gtk3' 'hostapd' 'iproute2' 'iw' 'procps-ng' 'qrencode') optdepends=('haveged: For random MAC generation' 'wireless_tools: if iw cannot recognize your adapter' 'bash-completion: for bash completions') provides=('wihotspot' 'create_ap') conflicts=('wihotspot' 'create_ap') backup=('etc/create_ap.conf') install="$pkgname.install" source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('9e4222b7d3129347b01eef711911ec87c9a04e20efd12d88565f682a14eb91da') build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" }