1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Jason Chu <jchu@xentac.net>
7 _pkgver=${pkgver%.pre*}
9 pkgdesc='Tools allowing to manipulate the Wireless Extensions'
10 url='https://hewlettpackard.github.io/wireless-tools/Tools.html'
13 source=("https://hewlettpackard.github.io/wireless-tools/${pkgname}.${pkgver}.tar.gz")
14 sha256sums=('abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63')
17 cd "${srcdir}/${pkgname}.${_pkgver}"
18 sed '/BUILD_STATIC =/d' -i Makefile
22 cd "${srcdir}/${pkgname}.${_pkgver}"
23 make CFLAGS="${CFLAGS} -I." LDFLAGS="${LDFLAGS}"
27 cd "${srcdir}/${pkgname}.${_pkgver}"
29 INSTALL_DIR="${pkgdir}/usr/bin" \
30 INSTALL_LIB="${pkgdir}/usr/lib" \
31 INSTALL_INC="${pkgdir}/usr/include" \
32 INSTALL_MAN="${pkgdir}/usr/share/man" \