void-packages/srcpkgs/xbps-triggers/template
Juan RP 84953ff0e2 xbps-triggers: dkms: set IGNORE_CC_MISMATCH for nvidia modules.
It's stupid to just abort building the dkms modules just because the CC/HOSTCC
variables between dkms and kernel don't match.
2014-05-20 18:15:20 +02:00

24 lines
597 B
Text

# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.77
revision=1
noarch=yes
bootstrap=yes
short_desc="The XBPS triggers for Void Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.voidlinux.eu"
license="Simplified BSD"
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
}