[arch-commits] Commit in wireless_tools/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Thu May 16 14:26:20 EDT 2013


    Date: Thursday, May 16, 2013 @ 20:26:20
  Author: bisson
Revision: 185638

move binaries to /usr/bin

Modified:
  wireless_tools/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-16 17:56:59 UTC (rev 185637)
+++ PKGBUILD	2013-05-16 18:26:20 UTC (rev 185638)
@@ -5,7 +5,7 @@
 
 pkgname=wireless_tools
 pkgver=29
-pkgrel=7
+pkgrel=8
 pkgdesc='Tools allowing to manipulate the Wireless Extensions'
 url='http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html'
 license=('GPL')
@@ -15,16 +15,20 @@
 sha1sums=('22040ac1497f4c5f8ddeca365591b01ae3475710'
           '5c297c7dff1ec1d2a3d918c20622ab3c6daf5b72')
 
+prepare() {
+	cd "${srcdir}/${pkgname}.${pkgver}"
+	patch -p1 -i ../dense.patch # FS#15363
+}
+
 build() {
 	cd "${srcdir}/${pkgname}.${pkgver}"
-	patch -p1 -i ../dense.patch # FS#15363
 	make CFLAGS="${CFLAGS} -I." LDFLAGS="${LDFLAGS}"
 }
 
 package() {
 	cd "${srcdir}/${pkgname}.${pkgver}"
 	make \
-		INSTALL_DIR="${pkgdir}/usr/sbin" \
+		INSTALL_DIR="${pkgdir}/usr/bin" \
 		INSTALL_LIB="${pkgdir}/usr/lib" \
 		INSTALL_INC="${pkgdir}/usr/include" \
 		INSTALL_MAN="${pkgdir}/usr/share/man" \



More information about the arch-commits mailing list