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

Stéphane Gaudreault stephane at archlinux.org
Fri Mar 4 15:33:07 UTC 2011


    Date: Friday, March 4, 2011 @ 10:33:07
  Author: stephane
Revision: 112297

upgpkg: wpa_actiond 1.1-2
Rebuild of old package, Tidy up PKGBUILD

Modified:
  wpa_actiond/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-04 14:46:49 UTC (rev 112296)
+++ PKGBUILD	2011-03-04 15:33:07 UTC (rev 112297)
@@ -2,19 +2,24 @@
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
 pkgname=wpa_actiond
 pkgver=1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Daemon that connects to wpa_supplicant and handles connect and disconnect events"
 arch=('i686' 'x86_64')
 url="http://projects.archlinux.org/wpa_actiond.git/"
 license=('GPL')
 depends=('glibc' 'wpa_supplicant')
-source=(ftp://ftp.archlinux.org/other/wpa_actiond/$pkgname-$pkgver.tar.xz)
+source=(ftp://ftp.archlinux.org/other/wpa_actiond/${pkgname}-${pkgver}.tar.xz)
 sha256sums=('d50a49cb5d56c31345d18e58f017b4ff923e8959a7e4e709abd156744f1668c3')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  make CFLAGS="$CFLAGS" || return 1
-  install -D -m755 wpa_actiond "$pkgdir/usr/sbin/wpa_actiond"
+  make CFLAGS="${CFLAGS}"
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  install -D -m755 wpa_actiond "${pkgdir}/usr/sbin/wpa_actiond"
+}
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list