66-tools: update to 0.0.7.3.

This commit is contained in:
Michal Vasilek 2021-06-16 00:17:23 +02:00 committed by Érico Nogueira Rolim
parent 4de8d3e70d
commit 959f730b09
2 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,17 @@
--- doc/make-man.sh
+++ doc/make-man.sh
@@ -10,11 +10,9 @@ done
for i in ${man1}; do
lowdown -s -Tman doc/"${i}".md -o doc/man/man1/"${i}".1
- var=$(head -n1 < doc/man/man1/"${i}".1)
- var=$(printf '%s' "$var" | tr '7' '1')
- var="${var} \"\" \"General Commands Manual\""
- sed -i "s!^.TH.*!${var}!" doc/man/man1/"${i}".1
- sed -i '2,7d' doc/man/man1/"${i}".1
+ var=$(sed -n '/^.TH/p' doc/man/man1/"${f}".1 | tr '7' '1')
+ sed -i "s!^.TH.*!${var}!" doc/man/man1/"${f}".1
+ sed -i '4,8d' doc/man/man1/"${f}".1
done
man_5(){

View File

@ -1,6 +1,6 @@
# Template file for '66-tools' # Template file for '66-tools'
pkgname=66-tools pkgname=66-tools
version=0.0.7.2 version=0.0.7.3
revision=1 revision=1
wrksrc=${pkgname}-v${version} wrksrc=${pkgname}-v${version}
build_style=configure build_style=configure
@ -14,9 +14,9 @@ short_desc="Small tools and helpers for service scripts execution"
maintainer="mobinmob <mobinmob@disroot.org>" maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC" license="ISC"
homepage="http://web.obarun.org/software/index.html" homepage="http://web.obarun.org/software/index.html"
changelog="https://framagit.org/Obarun/66-tools/-/raw/master/NEWS.md" changelog="https://framagit.org/Obarun/66-tools/-/raw/master/doc/upgrade.md"
distfiles="https://framagit.org/Obarun/66-tools/-/archive/v${version}/66-tools-v${version}.tar.gz" distfiles="https://framagit.org/Obarun/66-tools/-/archive/v${version}/66-tools-v${version}.tar.gz"
checksum=2732c67211d0ea1f0bda5ae55dc3be41f07a7e75d6006867cc5b8c87d1c29984 checksum=c8cbe0d6c104e4d87d588d5980201770a6fd2fad11f99ff138a37ff918d68491
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE