5355f32aca
The base_chroot var has been renamed to bootstrap, to avoid conflicts with the base-chroot pkg. So now you can rebuild any bootstrap package if the masterdir is ready (base-chroot already) installed and installation is only to destdir.
28 lines
617 B
Text
28 lines
617 B
Text
# Template file for 'xbps-triggers'
|
|
pkgname=xbps-triggers
|
|
version=0.17
|
|
build_style=custom-install
|
|
short_desc="XBPS triggers"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://code.google.com/p/xbps"
|
|
license="BSD"
|
|
long_desc="
|
|
This package installs the triggers used by the XBPS binary packages."
|
|
|
|
noarch=yes
|
|
noextract=yes
|
|
bootstrap=yes
|
|
|
|
do_install()
|
|
{
|
|
_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}
|
|
done
|
|
}
|