archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gnu-netcat / trunk / PKGBUILD
blob955d1f02326c57e1c6f75ebdb607b0517d17f7aa
1 # Maintainer: Tom K <tomk@runbox.com>
3 pkgname=gnu-netcat
4 pkgver=0.7.1
5 pkgrel=8
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 md5sums=('0a29eff1736ddb5effd0b1ec1f6fe0ef')
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