New package: thinkpad-scripts-4.11.0.
closes #7452 Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
parent
faae5c9fb7
commit
d70a811131
1 changed files with 24 additions and 0 deletions
24
srcpkgs/thinkpad-scripts/template
Normal file
24
srcpkgs/thinkpad-scripts/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'thinkpad-scripts'
|
||||
pkgname=thinkpad-scripts
|
||||
version=4.11.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=python3-module
|
||||
pycompile_module="tps"
|
||||
hostmakedepends="gettext python3-setuptools"
|
||||
depends="acpid alsa-utils eudev xinput xrandr python3-setuptools"
|
||||
short_desc="Screen rotation, docking, and more for ThinkPad X220 and X230 Tablet"
|
||||
maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/martin-ueding/thinkpad-scripts"
|
||||
distfiles="https://github.com/martin-ueding/thinkpad-scripts/archive/v${version}.tar.gz"
|
||||
checksum=a24bf13793d02348778465e8e608429570a2ce676e1d15f57da69beff2697684
|
||||
|
||||
post_install() {
|
||||
vinstall 81-thinkpad-dock.rules 644 usr/lib/udev/rules.d
|
||||
vinstall 90-X2x0T-keyboard.hwdb 644 usr/lib/udev/hwdb.d
|
||||
|
||||
for f in thinkpad-*-hook*; do
|
||||
vinstall $f 644 /etc/acpi/events
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue