void-packages/srcpkgs/ISOEnts/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

56 lines
1.4 KiB
Text

# Template file for 'ISOEnts'
pkgname=ISOEnts
version=1986
distfiles="http://www.oasis-open.org/cover/${pkgname}.zip"
short_desc="Character entity sets from ISO 8879:1986 (SGML)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.oasis-open.org"
license="Public domain"
checksum=dce4359a3996ed2fd33ad5eaa11a9bcfc24b5b06992e24295132b06db19a99b2
long_desc="
Nineteen ISO 8879:1986 character entity sets used by many DTDs:
Added Latin 1
Added Latin 2
Added Math Symbols: Arrow Relations
Added Math Symbols: Binary Operators
Added Math Symbols: Delimiters
Added Math Symbols: Negated Relations
Added Math Symbols: Ordinary
Added Math Symbols: Relations, Box and Line Drawing
Alternative Greek Symbols
Diacritical Marks
General Technical
Greek Letters
Greek Symbols
Monotoniko Greek
Non-Russian Cyrillic
Numeric and Special Graphic
Publishing
Russian Cyrillic"
noarch=yes
noextract=yes
Add_dependency full xmlcatmgr
Add_dependency build bsdtar
export 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}.zip -C ${dir}
install -m644 ${FILESDIR}/catalog ${dir}
}
post_stow()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
}
pre_remove()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
}