summaryrefslogtreecommitdiff
path: root/user/xbacklight
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:15:19 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:15:19 +0000
commit354dafee3aebc636a3fc91d6bdbdf7176d992922 (patch)
tree577e2397970ef3e1cd7c914af945191fbbcb345c /user/xbacklight
parent29bcdbf0b8d2fb4a1bb42727f21ee43a5cf86c36 (diff)
downloadpackages-354dafee3aebc636a3fc91d6bdbdf7176d992922.tar.gz
packages-354dafee3aebc636a3fc91d6bdbdf7176d992922.tar.bz2
packages-354dafee3aebc636a3fc91d6bdbdf7176d992922.tar.xz
packages-354dafee3aebc636a3fc91d6bdbdf7176d992922.zip
user/xbacklight: new package
Diffstat (limited to 'user/xbacklight')
-rw-r--r--user/xbacklight/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xbacklight/APKBUILD b/user/xbacklight/APKBUILD
new file mode 100644
index 000000000..ee1b65f15
--- /dev/null
+++ b/user/xbacklight/APKBUILD
@@ -0,0 +1,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"