Set-up monitors for sway tiling window manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
672 B

# Maintainer: Stefan Naumann <me@stefannaumann.de>
pkgname=swayrandr
pkgver=ede75880e85a0fea7ec1c7f9303ec2afdfb97b95
pkgrel=1
pkgdesc="xrandr and lxrandr clone for Sway tiling wayland compositor."
arch=('any')
url="https://git.snaums.de/snaums/swayrandr"
license=('GPL-3')
depends=('sway')
makedepends=(
'go'
'git'
)
source=("swayrandr::git+https://git.snaums.de/snaums/swayrandr.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git rev-list -1 HEAD
}
build() {
cd "$srcdir/$pkgname"
make dist
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 swayrandr "$pkgdir/usr/bin/swayrandr"
install -Dm755 lswayrandr "$pkgdir/usr/bin/lswayrandr"
}