mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 11:03:06 +02:00
docbook: update license
This commit is contained in:
parent
83978f5705
commit
a2f0f63f4c
1 changed files with 2 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'docbook'
|
# Template file for 'docbook'
|
||||||
pkgname=docbook
|
pkgname=docbook
|
||||||
version=4.5
|
version=4.5
|
||||||
revision=6
|
revision=7
|
||||||
depends="xmlcatmgr sgml-common"
|
depends="xmlcatmgr sgml-common"
|
||||||
short_desc="SGML DTD designed for computer documentation"
|
short_desc="SGML DTD designed for computer documentation"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="custom:DocBook"
|
license="DocBook-DTD"
|
||||||
homepage="http://www.docbook.org"
|
homepage="http://www.docbook.org"
|
||||||
distfiles="
|
distfiles="
|
||||||
http://www.docbook.org/sgml/$version/docbook-$version.zip
|
http://www.docbook.org/sgml/$version/docbook-$version.zip
|
||||||
|
@ -39,17 +39,6 @@ sgml_entries="
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
vsrcextract --no-strip-components docbook-${version}.zip
|
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() {
|
do_install() {
|
||||||
|
@ -67,5 +56,4 @@ do_install() {
|
||||||
vsrcextract -C "${dir}" "docbk${vernodot}.zip"
|
vsrcextract -C "${dir}" "docbk${vernodot}.zip"
|
||||||
install -m644 ${FILESDIR}/catalog${vernodot} ${dir}/catalog
|
install -m644 ${FILESDIR}/catalog${vernodot} ${dir}/catalog
|
||||||
done
|
done
|
||||||
vlicense LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue