void-packages/srcpkgs/xbps-triggers/template
Juan RP 809bb752fa xbps-triggers: improve dkms and system_accounts triggers. Bump to 0.13.
dkms: check correct version module via 'dkms status'.
system-accounts: it's possible now to create only system groups with 'system_groups'.
2010-12-28 11:22:58 +01:00

26 lines
564 B
Text

# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.13
build_style=custom-install
short_desc="XBPS triggers"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
This package installs the triggers used by the XBPS binary packages."
noarch=yes
noextract=yes
base_chroot=yes
do_install()
{
_triggersdir=${DESTDIR}/var/db/xbps/triggers
install -d ${_triggersdir}
for f in ${FILESDIR}/*; do
_trigger=$(basename $f)
install -m750 ${FILESDIR}/${_trigger} \
${_triggersdir}/${_trigger}
echo "# end" >> ${_triggersdir}/${_trigger}
done
}