void-packages/srcpkgs/x13s-base/template

24 lines
1.0 KiB
Bash

# Template file for 'x13s-base'
pkgname=x13s-base
version=2
revision=1
archs="aarch64*"
depends="linux-mainline>=6.8 linux-firmware-qualcomm alsa-ucm-conf"
short_desc="Void Linux Thinkpad X13s platform package"
maintainer="classabbyamp <void@placeviolette.net>"
license="Public Domain"
homepage="https://www.voidlinux.org"
conf_files="/etc/default/x13s"
do_install() {
vinstall "${FILESDIR}"/72-touchscreen.rules 644 usr/lib/udev/rules.d 72-x13s-touchscreen.rules
vinstall "${FILESDIR}"/90-net-address.rules 644 usr/lib/udev/rules.d 90-x13s-net-address.rules
vinstall "${FILESDIR}"/95-libcamera-hack.rules 644 usr/lib/udev/rules.d 95-x13s-libcamera-hack.rules
vinstall "${FILESDIR}"/90-bt-address.sh 644 etc/runit/core-services 90-x13s-bt-address.sh
vinstall "${FILESDIR}"/dracut.conf 644 usr/lib/dracut/dracut.conf.d x13s.conf
vinstall "${FILESDIR}"/x13s-setup 755 usr/libexec
vinstall "${FILESDIR}"/x13s.default 644 etc/default x13s
# not currently working
# vinstall "${FILESDIR}"/mkinitcpio.conf 644 etc/mkinitcpio.conf.d x13s.conf
}