summaryrefslogtreecommitdiff
path: root/extra/gnu-netcat/PKGBUILD
blob: 520c06703592258bb4fc05cb5e0a81e6c11c2251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 54891 2009-10-11 20:04:37Z giovanni $
# 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' 'mips64el')
url="http://netcat.sourceforge.net/"
license=('GPL')
replaces=('netcat')
provides=('netcat')
install=gnu-netcat.install
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
}