PKGBUILDs/extra/gnu-netcat/PKGBUILD

43 lines
1 KiB
Bash
Raw Permalink Normal View History

2014-11-05 02:41:14 +00:00
# Maintainer: Tom K <tomk@runbox.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch for ARM fix (http://sourceforge.net/p/netcat/bugs/23/)
pkgname=gnu-netcat
pkgver=0.7.1
2024-05-15 14:48:01 +00:00
pkgrel=10
2014-11-05 02:41:14 +00:00
pkgdesc="GNU rewrite of netcat, the network piping application"
2024-05-15 14:48:01 +00:00
depends=(
'glibc'
)
makedepends=(
'texinfo'
)
2018-11-13 19:34:32 +00:00
arch=('x86_64')
2014-11-05 02:41:14 +00:00
url="http://netcat.sourceforge.net/"
2024-05-15 14:48:01 +00:00
license=('GPL-2.0-only')
2014-11-05 02:41:14 +00:00
replaces=('netcat')
provides=('netcat')
2020-05-21 01:19:48 +00:00
source=("https://downloads.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2"
2014-11-05 02:41:14 +00:00
'gnu-netcat-flagcount.patch')
2022-12-27 14:43:49 +00:00
sha256sums=('b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb'
'63ffd690c586b164ec2f80723f5bcc46d009ffd5e0dd78bbe56fd1b770fd0788')
2014-11-05 02:41:14 +00:00
prepare() {
cd "${srcdir}/netcat-${pkgver}"
patch -p1 -i ../gnu-netcat-flagcount.patch
}
build() {
cd "${srcdir}/netcat-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make
}
package() {
cd "${srcdir}/netcat-${pkgver}"
make DESTDIR="${pkgdir}" install
}
2024-05-15 14:48:01 +00:00
# vim: ts=2 sw=2 et: