From c77c7fc60c48c9aaa8f915eb112405e8879e46aa Mon Sep 17 00:00:00 2001 From: root Date: Wed, 27 Jun 2012 00:01:57 +0000 Subject: Wed Jun 27 00:01:57 UTC 2012 --- testing/wpa_supplicant_gui/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/wpa_supplicant_gui/PKGBUILD (limited to 'testing/wpa_supplicant_gui/PKGBUILD') diff --git a/testing/wpa_supplicant_gui/PKGBUILD b/testing/wpa_supplicant_gui/PKGBUILD new file mode 100644 index 000000000..e8ad8125a --- /dev/null +++ b/testing/wpa_supplicant_gui/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 162332 2012-06-25 10:11:07Z heftig $ +# Maintainer: Thomas Bächler + +pkgname=wpa_supplicant_gui +pkgver=1.0 +pkgrel=1 +pkgdesc="A Qt frontend to wpa_supplicant" +url="http://hostap.epitest.fi/wpa_supplicant" +arch=('i686' 'x86_64') +depends=('qt' "wpa_supplicant=$pkgver") +license=('GPL') +source=("http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz" + compile-fix.patch) +sha256sums=('91d41d473a5aafa2e25dd6577ebda975c4d4a3188850a53e31feaf7c04482b9c' + '044be1032faf93c5f0abf22d7ae77dc0d1d1fef0c2c30646d54950b86601709f') + +build() { + cd wpa_supplicant-${pkgver} + patch -p1 <../compile-fix.patch + cd wpa_supplicant/wpa_gui-qt4 + qmake + make +} + +package() { + cd "${srcdir}/wpa_supplicant-${pkgver}/wpa_supplicant/wpa_gui-qt4" + install -Dm755 wpa_gui "${pkgdir}/usr/sbin/wpa_gui" + install -Dm644 icons/wpa_gui.svg "${pkgdir}/usr/share/pixmaps/wpa_gui.svg" + install -Dm644 wpa_gui.desktop "${pkgdir}/usr/share/applications/wpa_gui.desktop" + install -Dm644 "${srcdir}/wpa_supplicant-${pkgver}/wpa_supplicant/doc/docbook/wpa_gui.8" \ + "${pkgdir}/usr/share/man/man8/wpa_gui.8" +} -- cgit v1.2.3-54-g00ecf