summaryrefslogtreecommitdiff
path: root/user/xbacklight/APKBUILD
blob: ee1b65f15733c05d135bdc273c77200eaa91ee2b (plain) (blame)
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
29
30
31
32
33
34
35
36
37
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xbacklight
pkgver=1.2.2
pkgrel=0
pkgdesc="X11 backlight brightness adjustment utility"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="util-macros xcb-util-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xbacklight-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="4dca70ef8e3494b19ea126c46395807cddc007b2b09a133810daeb77ae27fa36ac4eec7813828248fc195abe27f59700cfa58ee65ef3a020a51f73e5107678ec  xbacklight-1.2.2.tar.bz2"