New package: autorandr-1.6 (#1640)

This commit is contained in:
Andrew Benson 2018-08-26 01:52:48 -05:00 committed by cr6git
parent eb7b0294a8
commit 9ba1b57672
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Template file for 'autorandr'
pkgname=autorandr
version=1.6
revision=1
noarch=yes
build_style=python3-module
pycompile_module="autorandr.py"
hostmakedepends="python3-setuptools pkg-config"
depends="python3 xrandr"
short_desc="Automatically select a display configuration based on connected devices"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/phillipberndt/autorandr"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=51b9e29765f2af547e263cd1cfb4aabcd854270b964703dd9a7a71150cee11b4
post_install() {
make install TARGETS='pmutils udev autostart_config bash_completion' \
PM_SLEEPHOOKS_DIR='/etc/pm/sleep.d' UDEV_RULES_DIR=/usr/lib/udev/rules.d \
BASH_COMPLETIONS_DIR=/usr/share/bash-completion/completions DESTDIR=${DESTDIR}
}