diff --git a/srcpkgs/net-tools/template b/srcpkgs/net-tools/template index a8a0aa093e..f28b703e61 100644 --- a/srcpkgs/net-tools/template +++ b/srcpkgs/net-tools/template @@ -12,13 +12,18 @@ long_desc=" Add_dependency run glibc -do_install() +do_build() { - cd $wrksrc + cd ${wrksrc} || return 1 . $XBPS_HELPERSDIR/replace-interpreter.sh replace_interpreter bash configure.sh - yes "" | make || exit 1 - make BASEDIR=${DESTDIR} update + yes "" | make || return 1 +} + +do_install() +{ + cd ${wrksrc} || return 1 + make BASEDIR=${DESTDIR} update || return 1 rm -rf ${DESTDIR}/usr/share/man/man1 }