void-packages/srcpkgs/ISOEnts/template

23 lines
710 B
Bash

# Template file for 'ISOEnts'
pkgname=ISOEnts
version=1986
revision=4
noarch=yes
create_wrksrc=yes
hostmakedepends="unzip bsdtar"
depends="xmlcatmgr"
short_desc="Character entity sets from ISO 8879:1986 (SGML)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="Public domain"
homepage="http://www.oasis-open.org"
distfiles="http://www.oasis-open.org/cover/${pkgname}.zip"
checksum=dce4359a3996ed2fd33ad5eaa11a9bcfc24b5b06992e24295132b06db19a99b2
sgml_entries="CATALOG /usr/share/sgml/iso8879/catalog --"
do_install() {
local dir=${DESTDIR}/usr/share/sgml/iso8879
install -d ${dir}
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.zip -C ${dir}
install -m644 ${FILESDIR}/catalog ${dir}
}