void-packages/srcpkgs/autorandr/template
2019-03-26 08:57:07 +01:00

21 lines
819 B
Bash

# Template file for 'autorandr'
pkgname=autorandr
version=1.8.1
revision=1
archs=noarch
build_style=python3-module
pycompile_module="autorandr.py"
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=f056d541b00a20daa6cb3512ba93b335c077e066794be727168655d823f3ac5c
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}
}