void-packages/srcpkgs/xbps-triggers/template
Juan RP b503a45593 xbps-triggers: update to 0.38 -- improved systemd-service trigger.
- Always run 'systemd-tmpfiles --create' at post INSTALL time.
- Informative messages showing what's enabled/stopped, etc.
2012-01-26 19:49:36 +01:00

23 lines
554 B
Text

# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.38
short_desc="XBPS triggers"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
license="Simplified BSD"
long_desc="
This package installs the triggers used by the XBPS binary packages."
noarch=yes
noextract=yes
bootstrap=yes
do_install() {
_triggersdir=var/db/xbps/triggers
for f in ${FILESDIR}/*; do
_trigger=$(basename $f)
vinstall ${FILESDIR}/${_trigger} 750 ${_triggersdir}
echo "# end" >> ${DESTDIR}/${_triggersdir}/${_trigger}
done
}