aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/x13s-base/template
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2024-03-21 22:00:45 +0000
committerclassabbyamp <5366828+classabbyamp@users.noreply.github.com>2024-07-07 05:32:26 +0000
commit9307928c6c599792d4682b16f599fc6c8650896f (patch)
treeb31fc44bd751cfe12b1fa9229566910f2078377b /srcpkgs/x13s-base/template
parenta34ae70fa142de1ea75cc71db3a207b2bc7f4291 (diff)
downloadvoid-packages-9307928c6c599792d4682b16f599fc6c8650896f.tar
void-packages-9307928c6c599792d4682b16f599fc6c8650896f.tar.gz
void-packages-9307928c6c599792d4682b16f599fc6c8650896f.tar.bz2
void-packages-9307928c6c599792d4682b16f599fc6c8650896f.tar.lz
void-packages-9307928c6c599792d4682b16f599fc6c8650896f.tar.xz
void-packages-9307928c6c599792d4682b16f599fc6c8650896f.tar.zst
void-packages-9307928c6c599792d4682b16f599fc6c8650896f.zip
New package: x13s-base-1
Diffstat (limited to '')
-rw-r--r--srcpkgs/x13s-base/template22
1 files changed, 22 insertions, 0 deletions
diff --git a/srcpkgs/x13s-base/template b/srcpkgs/x13s-base/template
new file mode 100644
index 00000000000..17da5ee388c
--- /dev/null
+++ b/srcpkgs/x13s-base/template
@@ -0,0 +1,22 @@
+# Template file for 'x13s-base'
+pkgname=x13s-base
+version=1
+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}"/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
+}