2010-05-18 08:01:03 +02:00
|
|
|
# Template file for 'xbps-triggers'
|
|
|
|
pkgname=xbps-triggers
|
2014-10-31 09:19:22 +01:00
|
|
|
version=0.89
|
2012-07-14 23:22:19 +02:00
|
|
|
revision=1
|
2014-01-01 16:10:11 +01:00
|
|
|
noarch=yes
|
2013-08-27 11:45:16 +02:00
|
|
|
bootstrap=yes
|
2013-02-25 19:13:44 +01:00
|
|
|
short_desc="The XBPS triggers for Void Linux"
|
2010-05-18 08:01:03 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-05-20 18:15:20 +02:00
|
|
|
homepage="http://www.voidlinux.eu"
|
2011-07-20 18:53:13 +02:00
|
|
|
license="Simplified BSD"
|
2010-05-18 08:01:03 +02:00
|
|
|
|
2012-01-26 19:49:36 +01:00
|
|
|
do_install() {
|
2012-11-15 23:53:10 +01:00
|
|
|
_triggersdir=usr/libexec/${pkgname}
|
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
|
2014-10-31 09:19:22 +01:00
|
|
|
vmkdir var/db/xbps
|
|
|
|
cd ${DESTDIR}/var/db/xbps
|
|
|
|
ln -sf ../../../${_triggersdir} triggers
|
2010-05-18 08:01:03 +02:00
|
|
|
}
|