netcat: switch to relative symlinks in alternatives.

This commit is contained in:
Juan RP 2015-10-31 13:36:26 +01:00
parent bd18b86dc0
commit b953da3685

View file

@ -1,7 +1,7 @@
# Template file for 'netcat'
pkgname=netcat
version=0.7.1
revision=5
revision=6
build_style=gnu-configure
configure_args="--program-prefix=g"
short_desc="The GNU netcat utility"
@ -12,8 +12,8 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=30719c9a4ffbcf15676b8f528233ccc54ee6cba96cb4590975f5fd60c68a066f
alternatives="
nc:/usr/bin/nc:/usr/bin/gnetcat
nc:/usr/share/man/man1/nc.1:/usr/share/man/man1/gnetcat.1"
nc:nc:/usr/bin/gnetcat
nc:nc.1:/usr/share/man/man1/gnetcat.1"
post_install() {
rm ${DESTDIR}/usr/bin/nc