blob: ed25418a9b9584073c70561f7e7749f0f7164622 (
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
28
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xbacklight
pkgver=1.2.3
pkgrel=0
pkgdesc="Adjusts backlight level using the RandR 1.2 output property"
url="http://xorg.freedesktop.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="libx11-dev libxrandr-dev xcb-util-wm-dev"
source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="717c87ce24634892fc4ac54fc59dcc0a5bc8f206aaf1d13410f95f7e4fe6e3dbc7ff8d951bcd8ea8c5e955357a00fea6ceadd4559e60b1a632e40f71290e12c7 xbacklight-1.2.3.tar.bz2"
|