void-packages/srcpkgs/autorandr/template
2021-10-09 08:01:51 -04:00

20 lines
773 B
Bash

# Template file for 'autorandr'
pkgname=autorandr
version=1.11
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools pkg-config"
depends="python3-setuptools 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=47e61984c3b426929527fb693d88e3bf9ebb82da625a3f840a624aa3fd891ce3
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}
}