archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gnu-netcat / trunk / PKGBUILD
blobab8f42d0e601f60b6a2851261c824c020fba82ef
1 # Maintainer: Tom K <tomk@runbox.com>
3 pkgname=gnu-netcat
4 pkgver=0.7.1
5 pkgrel=9
6 pkgdesc="GNU rewrite of netcat, the network piping application"
7 depends=('glibc' 'texinfo')
8 arch=('x86_64')
9 url="http://netcat.sourceforge.net/"
10 license=('GPL')
11 replaces=('netcat')
12 provides=('netcat')
13 source=("https://downloads.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2")
14 sha256sums=('b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb')
16 build() {
17   cd "${srcdir}/netcat-${pkgver}"
18   ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
19   make
22 package() {
23   cd "${srcdir}/netcat-${pkgver}"
24   make DESTDIR="${pkgdir}" install