2010-05-18 08:01:03 +02:00
|
|
|
# Template file for 'xbps-triggers'
|
|
|
|
pkgname=xbps-triggers
|
2010-10-23 17:49:36 +02:00
|
|
|
version=0.2
|
2010-05-18 08:01:03 +02:00
|
|
|
build_style=custom-install
|
|
|
|
short_desc="XBPS Package System triggers"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
long_desc="
|
|
|
|
This package installs the triggers used by the XBPS binary packages."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
base_chroot=yes
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
install -d ${DESTDIR}/var/db/xbps/triggers
|
|
|
|
install -m750 ${XBPS_TRIGGERSDIR}/* ${DESTDIR}/var/db/xbps/triggers
|
|
|
|
for f in $(find ${DESTDIR}/var/db/xbps/triggers); do
|
2010-05-18 08:24:20 +02:00
|
|
|
echo "# end" >> ${f}
|
2010-05-18 08:01:03 +02:00
|
|
|
done
|
|
|
|
}
|