2010-05-18 08:01:03 +02:00
|
|
|
# Template file for 'xbps-triggers'
|
|
|
|
pkgname=xbps-triggers
|
2011-02-14 13:52:45 +01:00
|
|
|
version=0.15
|
2010-05-18 08:01:03 +02:00
|
|
|
build_style=custom-install
|
2010-11-04 14:06:49 +01:00
|
|
|
short_desc="XBPS triggers"
|
2010-05-18 08:01:03 +02: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 14:29:59 +01:00
|
|
|
noextract=yes
|
2010-05-18 08:01:03 +02:00
|
|
|
base_chroot=yes
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-11-04 13:53:46 +01: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 08:01:03 +02:00
|
|
|
done
|
|
|
|
}
|