aboutsummaryrefslogtreecommitdiffstats
path: root/community/wifish/APKBUILD
blob: 42a0f9814ebdf5631740aa68e6d4287cf9f0ad42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=wifish
pkgver=1.1.4
pkgrel=2
pkgdesc="Simple wifi menu tool for wpa_supplicant"
url="https://github.com/bougyman/wifish"
options="!check" # Tests require running wpa_supplicant instance with wpa_cli
arch="noarch"
license="WTFPL"
depends="wpa_supplicant gawk dialog"
checkdepends="checkbashisms"
source="$pkgname-$pkgver.tar.gz::https://github.com/bougyman/wifish/archive/$pkgver.tar.gz"

package() {
	install -Dm777 $pkgname "$pkgdir"/usr/bin/$pkgname
	cd awk
	for awk in *; do
		install -Dm644 "$awk" "$pkgdir"/var/lib/wifish/"$awk"
	done
}

sha512sums="5315ff3449a5e5162422997ec43946d1f4c441ba436484ae485ba3d6bd3d53f207ddd3d569112b2f1e8eb30f965f80aa5d651f2d07c031d140678274b22beced  wifish-1.1.4.tar.gz"