mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-10 00:48:06 +01:00
24 lines
647 B
Bash
24 lines
647 B
Bash
# From https://github.com/void-linux/void-packages/tree/master/srcpkgs/xbps-triggers
|
|
|
|
# Template file for 'xbps-triggers'
|
|
pkgname=xbps-triggers
|
|
version=0.127
|
|
revision=1
|
|
bootstrap=yes
|
|
short_desc="XBPS triggers for Void Linux"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="Public Domain"
|
|
homepage="https://voidlinux.org"
|
|
|
|
do_install() {
|
|
_triggersdir=usr/libexec/${pkgname}
|
|
|
|
for f in ${FILESDIR}/*; do
|
|
_trigger=$(basename $f)
|
|
vinstall ${FILESDIR}/${_trigger} 754 ${_triggersdir}
|
|
echo "# end" >> ${DESTDIR}/${_triggersdir}/${_trigger}
|
|
done
|
|
vmkdir var/db/xbps
|
|
cd ${DESTDIR}/var/db/xbps
|
|
ln -sf ../../../${_triggersdir} triggers
|
|
}
|