blob: dfd61e068436a8464f578e8f1b5b7cc967c26e61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Alexander Courtis <alex@courtis.org>
pkgname=xlayoutdisplay
pkgver=1.5.0
pkgrel=1
pkgdesc="Detects and arranges linux display outputs, using XRandR for detection and xrandr for arrangement."
arch=('x86_64')
url="https://github.com/alex-courtis/xlayoutdisplay"
license=('Apache')
depends=('xorg-xrandr' 'xorg-xrdb' 'libxcursor')
makedepends=('git' 'make' 'boost')
source=("https://github.com/alex-courtis/xlayoutdisplay/archive/v$pkgver.tar.gz")
sha256sums=('40b832e2845689dfc2bb5b8b53e9f5300f22fbbb0698830d8ff73562d47a6b84')
install=install
build() {
cd "$pkgname-$pkgver"
make xlayoutdisplay
}
package() {
cd "$pkgname-$pkgver"
make PREFIX="/usr" DESTDIR="$pkgdir/" install
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm644 99-xlayoutdisplay.rules -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 NOTICE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|