blob: 9705afea1e105b09fb6a99a226645ff9d3f274b5 (
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: Alexey Peschany <archlinux at sandboiii dot xyz>
# Contributor: Kewl <xrjy@nygb.rh.bet(rot13)>
# Contributor: Thomas Bächler <thomas at archlinux dot org>
pkgname=wpa_supplicant_gui
_pkgname=${pkgname%_gui}
pkgver=2.11
pkgrel=1
pkgdesc="A Qt frontend for interacting with wpa_supplicant"
url="https://w1.fi/wpa_supplicant/"
arch=('x86_64')
depends=('qt5-base' 'wpa_supplicant')
license=('BSD')
source=("https://w1.fi/releases/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('912ea06f74e30a8e36fbb68064d6cdff218d8d591db0fc5d75dee6c81ac7fc0a')
build() {
cd "${_pkgname}-${pkgver}/${_pkgname}/wpa_gui-qt4"
qmake-qt5 QMAKE_CFLAGS_RELEASE="${CPPFLAGS} ${CFLAGS}" QMAKE_CXXFLAGS_RELEASE="${CPPFLAGS} ${CXXFLAGS}" QMAKE_LFLAGS_RELEASE="${LDFLAGS}"
make
}
package() {
cd "${_pkgname}-${pkgver}/${_pkgname}/wpa_gui-qt4"
install -Dm755 -t "${pkgdir}/usr/bin" wpa_gui
install -Dm644 -t "${pkgdir}/usr/share/pixmaps" icons/wpa_gui.svg
install -Dm644 -t "${pkgdir}/usr/share/applications" wpa_gui.desktop
install -Dm644 -t "${pkgdir}/usr/share/man/man8" ../doc/docbook/wpa_gui.8
}
|