[arch-commits] Commit in wireless_tools/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Wed May 30 19:28:03 UTC 2018
Date: Wednesday, May 30, 2018 @ 19:28:03
Author: bisson
Revision: 325184
archrelease: copy trunk to testing-x86_64
Added:
wireless_tools/repos/testing-x86_64/
wireless_tools/repos/testing-x86_64/PKGBUILD
(from rev 325183, wireless_tools/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: wireless_tools/repos/testing-x86_64/PKGBUILD (from rev 325183, wireless_tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-05-30 19:28:03 UTC (rev 325184)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=wireless_tools
+pkgver=30.pre9
+_pkgver=${pkgver%.pre*}
+pkgrel=2
+pkgdesc='Tools allowing to manipulate the Wireless Extensions'
+url='https://hewlettpackard.github.io/wireless-tools/Tools.html'
+license=('GPL')
+arch=('x86_64')
+source=("https://hewlettpackard.github.io/wireless-tools/${pkgname}.${pkgver}.tar.gz")
+sha256sums=('abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63')
+
+prepare() {
+ cd "${srcdir}/${pkgname}.${_pkgver}"
+ sed '/BUILD_STATIC =/d' -i Makefile
+}
+
+build() {
+ cd "${srcdir}/${pkgname}.${_pkgver}"
+ make CFLAGS="${CFLAGS} -I." LDFLAGS="${LDFLAGS}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}.${_pkgver}"
+ make \
+ INSTALL_DIR="${pkgdir}/usr/bin" \
+ INSTALL_LIB="${pkgdir}/usr/lib" \
+ INSTALL_INC="${pkgdir}/usr/include" \
+ INSTALL_MAN="${pkgdir}/usr/share/man" \
+ install
+}
More information about the arch-commits
mailing list