178e50545d
The systemd-service trigger has been improved and now will also handle files in modules-load.d(5) and tmpfiles.d(5).
24 lines
565 B
Text
24 lines
565 B
Text
# Template file for 'xbps-triggers'
|
|
pkgname=xbps-triggers
|
|
version=0.47
|
|
revision=1
|
|
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
|
|
}
|