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