mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-07 06:32:29 +01:00
30 lines
780 B
Plaintext
30 lines
780 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=xbacklight
|
|
pkgver=1.2.2
|
|
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"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="4dca70ef8e3494b19ea126c46395807cddc007b2b09a133810daeb77ae27fa36ac4eec7813828248fc195abe27f59700cfa58ee65ef3a020a51f73e5107678ec xbacklight-1.2.2.tar.bz2"
|