void-packages/srcpkgs/rpi3-base/template

20 lines
565 B
Bash

# Template file for 'rpi3-base'
pkgname=rpi3-base
version=0.1
revision=3
homepage="http://www.voidlinux.org"
short_desc="Void Linux RaspberryPi3 (64 bit) base files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
archs="aarch64*"
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
}