mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 01:32:26 +01:00
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=autorandr
|
|
pkgver=1.14
|
|
pkgrel=0
|
|
pkgdesc="Auto-detect the connected display hardware and load the appropriate X11 setup using xrandr"
|
|
url="https://github.com/phillipberndt/autorandr"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
py3-packaging
|
|
python3
|
|
xdpyinfo
|
|
xrandr
|
|
"
|
|
makedepends="
|
|
bash-completion-dev
|
|
libxcb-dev
|
|
py3-setuptools_scm
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/phillipberndt/autorandr/archive/$pkgver.tar.gz"
|
|
subpackages="
|
|
$pkgname-udev
|
|
$pkgname-doc
|
|
$pkgname-launcher
|
|
$pkgname-bash-completion
|
|
"
|
|
options="!check" # no tests
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" \
|
|
UDEV_RULES_DIR="/etc/udev/rules.d" install_udev \
|
|
install_manpage \
|
|
install_bash_completion \
|
|
install_launcher \
|
|
install_autorandr
|
|
}
|
|
|
|
udev() {
|
|
install_if="$pkgname udev"
|
|
amove etc/udev/rules.d/
|
|
}
|
|
|
|
launcher() {
|
|
amove usr/bin/autorandr-launcher
|
|
amove etc/xdg/autostart/autorandr-launcher.desktop
|
|
}
|
|
|
|
sha512sums="
|
|
dc1ee4c28b06dde4a721fe564734e7a79c1c843986f7c84307ea60f19c2237ba53d1bcd2202e377363e7e0a5bf5dea95bea4490b3fa5ec5fa6738114646a502d autorandr-1.14.tar.gz
|
|
"
|