mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-01 09:32:57 +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'
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue