void-packages/srcpkgs/xbps-triggers/template
fosslinux 8462fa73e4 xbps-triggers: add updmap to texmf trigger.
On some texlive installations, without a rebuild of the database,
new/removed fonts will cease to work correctly, potentially breaking the
entire installation in some cases.
2021-01-21 08:41:19 -05:00

22 lines
561 B
Bash

# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.119
revision=1
bootstrap=yes
short_desc="XBPS triggers for Void Linux"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Public Domain"
homepage="https://voidlinux.org"
do_install() {
_triggersdir=usr/libexec/${pkgname}
for f in ${FILESDIR}/*; do
_trigger=$(basename $f)
vinstall ${FILESDIR}/${_trigger} 754 ${_triggersdir}
echo "# end" >> ${DESTDIR}/${_triggersdir}/${_trigger}
done
vmkdir var/db/xbps
cd ${DESTDIR}/var/db/xbps
ln -sf ../../../${_triggersdir} triggers
}