2019-01-20 05:09:22 +01:00
|
|
|
# Template file for 'thinkpad-scripts'
|
|
|
|
pkgname=thinkpad-scripts
|
2019-01-22 03:12:38 +01:00
|
|
|
version=4.12.0
|
2019-01-20 05:09:22 +01:00
|
|
|
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"
|
2019-01-22 03:12:38 +01:00
|
|
|
checksum=99966d2983f644c5a96f6c366ff6b61f536dfa7d41eb6598079a21573f2b8d62
|
2019-01-20 05:09:22 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|