a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
21 lines
569 B
Bash
21 lines
569 B
Bash
# Template file for 'netcat'
|
|
pkgname=netcat
|
|
version=0.7.1
|
|
revision=7
|
|
build_style=gnu-configure
|
|
configure_args="--program-prefix=g"
|
|
short_desc="The GNU netcat utility"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://netcat.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=30719c9a4ffbcf15676b8f528233ccc54ee6cba96cb4590975f5fd60c68a066f
|
|
patch_args=-Np0
|
|
|
|
alternatives="
|
|
nc:nc:/usr/bin/gnetcat
|
|
nc:nc.1:/usr/share/man/man1/gnetcat.1"
|
|
|
|
post_install() {
|
|
rm ${DESTDIR}/usr/bin/nc
|
|
}
|