void-packages/srcpkgs/xbps-triggers/template
2013-05-27 14:37:14 +02:00

33 lines
692 B
Text

# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.71
revision=1
short_desc="The XBPS triggers for Void Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
license="Simplified BSD"
nofetch=yes
noextract=yes
bootstrap=yes
do_install() {
_triggersdir=usr/libexec/${pkgname}
for f in ${FILESDIR}/*; do
_trigger=$(basename $f)
vinstall ${FILESDIR}/${_trigger} 750 ${_triggersdir}
echo "# end" >> ${DESTDIR}/${_triggersdir}/${_trigger}
done
# Create compat symlink.
vmkdir var/db/xbps
cd ${DESTDIR}/var/db/xbps
ln -sf ../../../${_triggersdir} triggers
}
xbps-triggers_package() {
noarch=yes
pkg_install() {
vmove all
}
}