diff options
author | Britney Fransen <brfransen@gmail.com> | 2012-09-18 14:50:23 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2012-09-18 14:50:23 (GMT) |
commit | 44e4acec5a35087de51e3c87a347ffea61fc2c74 (patch) | |
tree | f8f52426bd1d742515fa01c1853e2b5988519166 /abs/extra/gnu-netcat/PKGBUILD | |
parent | 027c37cc0adf68c10e68cf53aec856aea1680a7f (diff) | |
download | linhes_pkgbuild-44e4acec5a35087de51e3c87a347ffea61fc2c74.zip linhes_pkgbuild-44e4acec5a35087de51e3c87a347ffea61fc2c74.tar.gz linhes_pkgbuild-44e4acec5a35087de51e3c87a347ffea61fc2c74.tar.bz2 |
gnu-netcat: fix error on pkg install
Diffstat (limited to 'abs/extra/gnu-netcat/PKGBUILD')
-rw-r--r-- | abs/extra/gnu-netcat/PKGBUILD | 16 |
1 files 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 <tomk@runbox.com> 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 } |