void-packages/srcpkgs/xbps-triggers/template

21 lines
505 B
Plaintext

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