aboutsummaryrefslogtreecommitdiffstats
path: root/community/wpa_gui/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wpa_gui/APKBUILD')
-rw-r--r--community/wpa_gui/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/wpa_gui/APKBUILD b/community/wpa_gui/APKBUILD
new file mode 100644
index 0000000000..7505fdb1b9
--- /dev/null
+++ b/community/wpa_gui/APKBUILD
@@ -0,0 +1,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="http://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"