PKGBUILDs/extra/gnu-netcat/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
689 B
Bash

# $Id: PKGBUILD 49781 2009-08-15 16:06:57Z jgc $
# Maintainer: Tom K <tomk@runbox.com>
pkgname=gnu-netcat
pkgver=0.7.1
pkgrel=3
pkgdesc="GNU rewrite of netcat, the network piping application"
depends=('glibc' 'texinfo')
arch=('i686' 'x86_64')
url="http://netcat.sourceforge.net/"
license=('GPL')
replaces=('netcat')
provides=('netcat')
install=gnu-netcat.install
source=(http://dl.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
}