From 44e4acec5a35087de51e3c87a347ffea61fc2c74 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 18 Sep 2012 09:50:23 -0500 Subject: gnu-netcat: fix error on pkg install --- abs/extra/gnu-netcat/PKGBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/abs/extra/gnu-netcat/PKGBUILD b/abs/extra/gnu-netcat/PKGBUILD index 82c90f3..05411c4 100644 --- a/abs/extra/gnu-netcat/PKGBUILD +++ b/abs/extra/gnu-netcat/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 49781 2009-08-15 16:06:57Z jgc $ +# $Id$ # Maintainer: Tom K pkgname=gnu-netcat pkgver=0.7.1 -pkgrel=3 +pkgrel=4 pkgdesc="GNU rewrite of netcat, the network piping application" depends=('glibc' 'texinfo') arch=('i686' 'x86_64') @@ -12,12 +12,16 @@ license=('GPL') replaces=('netcat') provides=('netcat') install=gnu-netcat.install -source=(http://internap.dl.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2) +source=("http://downloads.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2") md5sums=('0a29eff1736ddb5effd0b1ec1f6fe0ef') build() { cd "${srcdir}/netcat-${pkgver}" - ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info + make +} + +package() { + cd "${srcdir}/netcat-${pkgver}" + make DESTDIR="${pkgdir}" install } -- cgit v0.12