From f4dcb5cb43b68e265512a03a160bdda634818b43 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Dec 2011 23:14:49 +0000 Subject: Tue Dec 13 23:14:49 UTC 2011 --- community/lorcon-old-svn/PKGBUILD | 50 +++++++++++++-------------------------- 1 file changed, 17 insertions(+), 33 deletions(-) (limited to 'community/lorcon-old-svn/PKGBUILD') diff --git a/community/lorcon-old-svn/PKGBUILD b/community/lorcon-old-svn/PKGBUILD index fedfc4e34..271937ec6 100644 --- a/community/lorcon-old-svn/PKGBUILD +++ b/community/lorcon-old-svn/PKGBUILD @@ -1,43 +1,27 @@ -# Maintainer: Brad Fanella +# $Id: PKGBUILD 60383 2011-12-12 18:03:48Z andrea $ +# Maintainer: +# Contributor: Brad Fanella # Contributor: fnord0 [fnord0 riseup net] pkgname=lorcon-old-svn -pkgver=197 -pkgrel=2 -makedepends=('subversion') -pkgdesc="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code." -url="http://802.11ninja.net" -license="GPL" +pkgver=224 +pkgrel=1 +pkgdesc="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames" +url='http://802.11ninja.net' +license=('GPL') arch=('i686' 'x86_64') - -_svntrunk=http://802.11ninja.net/svn/lorcon/branch/lorcon-old/ -_svnmod=lorcon-old +depends=('libnl') +options=('!libtool') +source=("ftp://ftp.archlinux.org/other/community/lorcon-old/lorcon-old-${pkgver}.tar.bz2") +md5sums=('7a939cc8ec0d70d1b312b9fe9f0dfaf8') build() { - cd ${srcdir} - - # Fetch latest svn build - if [ -d ${_svnmod}/.svn ]; then - msg "Updating lorcon-old SVN..." - cd ${_svnmod} && svn up - else - msg "Checking out lorcon-old SVN..." - svn co ${_svntrunk} -r 224 ${_svnmod} - fi - - msg "SVN checkout done or server timeout" - - # Compile - cd ${srcdir}/${_svnmod} - msg "Starting make..." - ./configure --prefix=/usr - make + cd "${srcdir}/lorcon-old-${pkgver}" + ./configure --prefix=/usr + make } package() { - cd ${srcdir}/${_svnmod} - - # Install - make DESTDIR="${pkgdir}" install + cd "${srcdir}/lorcon-old-${pkgver}" + make DESTDIR="${pkgdir}" install } - -- cgit v1.2.3-54-g00ecf