20 lines
792 B
Bash
20 lines
792 B
Bash
# Template file for 'autorandr'
|
|
pkgname=autorandr
|
|
version=1.14
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools pkg-config desktop-file-utils"
|
|
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=d7d4f2e57c14c0e032ddfde24da2b22e5831cc792dca2c6bad3622502e634c60
|
|
|
|
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}
|
|
}
|