docbook: update license

This commit is contained in:
Đoàn Trần Công Danh 2025-08-29 20:54:52 +07:00
parent 83978f5705
commit a2f0f63f4c

View file

@ -1,11 +1,11 @@
# Template file for 'docbook'
pkgname=docbook
version=4.5
revision=6
revision=7
depends="xmlcatmgr sgml-common"
short_desc="SGML DTD designed for computer documentation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:DocBook"
license="DocBook-DTD"
homepage="http://www.docbook.org"
distfiles="
http://www.docbook.org/sgml/$version/docbook-$version.zip
@ -39,17 +39,6 @@ sgml_entries="
do_extract() {
vsrcextract --no-strip-components docbook-${version}.zip
sed -n '
/Copyright/,/warranty[.]/{
s/<!--//
s/^ *//
s/^[$]Id:.*[$]//
H
x
/^\n$/!{g;p;}
g
}
' docbook.dtd >LICENSE
}
do_install() {
@ -67,5 +56,4 @@ do_install() {
vsrcextract -C "${dir}" "docbk${vernodot}.zip"
install -m644 ${FILESDIR}/catalog${vernodot} ${dir}/catalog
done
vlicense LICENSE
}