2010-05-18 06:01:03 +00:00
|
|
|
# Template file for 'xbps-triggers'
|
|
|
|
pkgname=xbps-triggers
|
2010-12-28 12:03:04 +00:00
|
|
|
version=0.14
|
2010-05-18 06:01:03 +00:00
|
|
|
build_style=custom-install
|
2010-11-04 13:06:49 +00:00
|
|
|
short_desc="XBPS triggers"
|
2010-05-18 06:01:03 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
long_desc="
|
|
|
|
This package installs the triggers used by the XBPS binary packages."
|
|
|
|
|
|
|
|
noarch=yes
|
2010-12-23 13:29:59 +00:00
|
|
|
noextract=yes
|
2010-05-18 06:01:03 +00:00
|
|
|
base_chroot=yes
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-11-04 12:53:46 +00:00
|
|
|
_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}
|
2010-05-18 06:01:03 +00:00
|
|
|
done
|
|
|
|
}
|