1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="Auto-detect connected display hardware and load appropiate X11 setup using xrandr"
8 url="https://github.com/phillipberndt/autorandr"
10 depends=(python-packaging xorg-xdpyinfo xorg-xrandr)
11 makedepends=(bash-completion desktop-file-utils systemd)
13 'bash-completion: auto-completion for autorandr in Bash'
14 'zsh-completions: auto-completion for autorandr in ZSH'
16 source=($pkgname-$pkgver.tar.gz::https://github.com/phillipberndt/$pkgname/archive/$pkgver.tar.gz)
17 sha512sums=('6c3f99da52a029a8f1717020ebafbd7afb58d97651776a6620f47e299584704ab65c37be5e9497cca3c53d6268ebde11481f32967ec289adf606a73e587e874f')
18 b2sums=('fb53316af4d3fa399f278be874e95d06cbd188bebf1e22793ca30ad4f9a8817674390c7d02d501f4a35a0a6f23b16202e97f2a6559727e67e908d21121de8a56')
21 make DESTDIR="$pkgdir" PREFIX=/usr install -C $pkgname-$pkgver
23 install -vDm 644 $pkgname-$pkgver/contrib/zsh_completion/_$pkgname -t "$pkgdir/usr/share/zsh/site-functions/"
25 install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"