git clone https://aur.archlinux.org/linux-wifi-hotspot.git
cd linux-wifi-hotspot
edit the PKGBUILD like this:
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=linux-wifi-hotspot
pkgver=4.7.1
pkgrel=1
pkgdesc="Feature-rich wifi hotspot creator"
arch=('x86_64' 'aarch64')
url="https://github.com/lakinduakash/linux-wifi-hotspot"
license=('BSD')
depends=('gtk3' 'hostapd' 'iproute2' 'iw' 'procps-ng' 'qrencode')
optdepends=("dnsmasq: For 'NATed' or 'None' Internet sharing method"
"iptables: For 'NATed' or 'None' Internet sharing method"
'haveged: For random MAC generation'
'wireless_tools: if iw cannot recognize your adapter')
provides=('wihotspot' 'create_ap')
conflicts=('wihotspot' 'create_ap')
backup=('etc/create_ap.conf')
install="$pkgname.install"
source=("git+https://github.com/lakinduakash/linux-wifi-hotspot.git")
sha256sums=('SKIP')
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
(only differences are source=(...)
, sha256sums=(...)
, cd "$pkgname"
)
then makepkg -i
no idea if it solves any problem but it builds successfully in a few seconds