void-packages/srcpkgs/cubietruck-base/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

21 lines
722 B
Bash

# Template file for 'cubietruck-base'
pkgname=cubietruck-base
version=2.3
revision=2
build_style=meta
homepage="http://www.voidlinux.org"
short_desc="Void Linux Cubietruck (Cubieboard 3) platform package"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
archs="armv7l"
depends="virtual?ntp-daemon cubietruck-uboot sun7i-kernel linux-firmware-network"
do_install() {
# Load the sunxi-emac module by default.
vmkdir usr/lib/modules-load.d
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubietruck.conf
# Set proper perms to some devices.
vmkdir usr/lib/udev/rules.d
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cubietruck.rules
}