Skip to content
Snippets Groups Projects
PKGBUILD 718 B
Newer Older
# Maintainer: Tom K <tomk@runbox.com>

pkgname=gnu-netcat
pkgver=0.7.1
pkgdesc="GNU rewrite of netcat, the network piping application"
arch=('x86_64')
url="http://netcat.sourceforge.net/"
replaces=('netcat')
provides=('netcat')
Antonio Rojas's avatar
Antonio Rojas committed
source=("https://downloads.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2")
Felix Yan's avatar
Felix Yan committed
sha256sums=('b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb')

build() {
  cd "${srcdir}/netcat-${pkgver}"
Pierre Schmitz's avatar
Pierre Schmitz committed
  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
  make
}

package() {
  cd "${srcdir}/netcat-${pkgver}"
  make DESTDIR="${pkgdir}" install