aboutsummaryrefslogtreecommitdiffstats
path: root/community/wpa_gui/APKBUILD
blob: 9b091aefd7bb391df278a4361b38497d2745e540 (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
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wpa_gui
pkgver=2.6
pkgrel=0
pkgdesc="Grafical User Interface for wpa_supplicant"
url="https://w1.fi/wpa_supplicant/"
arch="all"
license="BSD"
makedepends="dbus-dev qt5-qtbase-dev"
source="https://w1.fi/releases/wpa_supplicant-$pkgver.tar.gz"
options="!check"

# upgrade compatibility. this can removed after v3.7
provides="wpa_supplicant-gui"

builddir="$srcdir"/wpa_supplicant-$pkgver
build() {
	cd "$builddir"/wpa_supplicant
	qmake-qt5 -o wpa_gui-qt4/Makefile wpa_gui-qt4/wpa_gui.pro
	make -C wpa_gui-qt4
}

package() {
	cd "$builddir"/wpa_supplicant
	install -d "$pkgdir"/usr/bin
	install -m 0755 wpa_gui-qt4/wpa_gui "$pkgdir"/usr/bin/wpa_gui
}

sha512sums="46442cddb6ca043b8b08d143908f149954c238e0f3a57a0df73ca4fab9c1acd91b078f3f26375a1d99cd1d65625986328018c735d8705882c8f91e389cad28a6  wpa_supplicant-2.6.tar.gz"