void-packages/srcpkgs/docbook-dsssl/template

22 lines
729 B
Bash

# Template file for 'docbook-dsssl'
pkgname=docbook-dsssl
version=1.79
revision=4
makedepends="xmlcatmgr docbook-xml"
depends="${makedepends}"
short_desc="DSSSL stylesheets for the DocBook DTD"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.docbook.org/"
distfiles="${SOURCEFORGE_SITE}/docbook/docbook-dsssl-${version}.tar.bz2"
checksum=2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc
sgml_entries="CATALOG /usr/share/sgml/docbook/dsssl/modular/catalog --"
do_install() {
rm -rf ${wrksrc}/docsrc
vmkdir usr/share/sgml/docbook/dsssl/modular
cp -rp ${wrksrc}/* ${DESTDIR}/usr/share/sgml/docbook/dsssl/modular
sed -n '/Copyright/,/exist/p' README > LICENSE
vlicense LICENSE
}