void-packages/srcpkgs/autorandr/template

22 lines
815 B
Bash
Raw Normal View History

2018-08-26 08:52:48 +02:00
# Template file for 'autorandr'
pkgname=autorandr
2018-09-28 11:32:30 +02:00
version=1.7
2018-08-26 08:52:48 +02:00
revision=1
noarch=yes
build_style=python3-module
pycompile_module="autorandr.py"
hostmakedepends="python3-setuptools pkg-config"
2018-09-28 11:32:30 +02:00
depends="python3-setuptools xrandr"
2018-08-26 08:52:48 +02:00
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"
2018-09-28 11:32:30 +02:00
checksum=3d8454fff9e2c98a707fa7f4c556eafff54cd11fde63ed6439ac7f47c185348b
2018-08-26 08:52:48 +02:00
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}
}