2010-05-18 06:01:03 +00:00
|
|
|
# Template file for 'xbps-triggers'
|
|
|
|
pkgname=xbps-triggers
|
2011-12-16 09:34:46 +00:00
|
|
|
version=0.37
|
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>"
|
2011-07-01 13:22:10 +00:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
2011-07-20 16:53:13 +00:00
|
|
|
license="Simplified BSD"
|
2010-05-18 06:01:03 +00:00
|
|
|
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
|
2011-07-06 06:16:56 +00:00
|
|
|
bootstrap=yes
|
2010-05-18 06:01:03 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-07-09 22:03:17 +00:00
|
|
|
_triggersdir=var/db/xbps/triggers
|
2010-11-04 12:53:46 +00:00
|
|
|
|
|
|
|
for f in ${FILESDIR}/*; do
|
|
|
|
_trigger=$(basename $f)
|
2011-07-09 22:03:17 +00:00
|
|
|
vinstall ${FILESDIR}/${_trigger} 750 ${_triggersdir}
|
|
|
|
echo "# end" >> ${DESTDIR}/${_triggersdir}/${_trigger}
|
2010-05-18 06:01:03 +00:00
|
|
|
done
|
|
|
|
}
|