void-packages/srcpkgs/rpi3-base/template

20 lines
585 B
Bash

# Template file for 'rpi3-base'
pkgname=rpi3-base
version=0.1
revision=1
homepage="http://www.voidlinux.eu"
short_desc="Void Linux RaspberryPi3 (64 bit) base files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
only_for_archs="aarch64 aarch64-musl"
depends="virtual?ntp-daemon rpi3-firmware linux"
do_install() {
# Fix permissions for the vchiq device.
vmkdir usr/lib/udev/rules.d
echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \
${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules
vinstall ${FILESDIR}/20-rpi3 0755 etc/kernel.d/post-install
}