aboutsummaryrefslogtreecommitdiffstats
path: root/main/xbacklight
diff options
context:
space:
mode:
authorƁukasz Jendrysik <scadu@yandex.com>2017-01-15 14:16:26 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-01-17 01:14:08 +0100
commitbe93678721ff7a9bd0d3c79909d9d08cf59e47e3 (patch)
treefecf7b6033fa971d2537e2ce6304333d49d0d4c3 /main/xbacklight
parentcbd82a49dfb98613d73808470026fe4d6ceaae73 (diff)
downloadaports-be93678721ff7a9bd0d3c79909d9d08cf59e47e3.tar.bz2
aports-be93678721ff7a9bd0d3c79909d9d08cf59e47e3.tar.xz
main/xbacklight: upgrade to 1.2.1
Diffstat (limited to 'main/xbacklight')
-rw-r--r--main/xbacklight/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/main/xbacklight/APKBUILD b/main/xbacklight/APKBUILD
index 8ca16e9a69..baa61e6fbe 100644
--- a/main/xbacklight/APKBUILD
+++ b/main/xbacklight/APKBUILD
@@ -1,25 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xbacklight
-pkgver=1.1
-pkgrel=3
+pkgver=1.2.1
+pkgrel=0
pkgdesc="Sets backlight level using the RandR 1.2 BACKLIGHT output property"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
-depends=
-makedepends="libx11-dev libxrandr-dev"
+makedepends="libx11-dev libxrandr-dev xcb-util-wm-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -30,7 +23,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="51b4a1c0ae2b3bd77417306fd78a3e94 xbacklight-1.1.tar.bz2"
+
+md5sums="0066f23f69ca3ef62dcaeb74a87fdc48 xbacklight-1.2.1.tar.bz2"
+sha256sums="17f6cf51a35eaa918abec36b7871d28b712c169312e22a0eaf1ffe8d6468362b xbacklight-1.2.1.tar.bz2"
+sha512sums="9a0afebea2fe155ab7d1ad00ef27566daeb7dc4fd47523511f1b8e8ac30977f938a08783bc0c7443fe92ebff1c17c68c78d44db08b32768d7831128130e0637d xbacklight-1.2.1.tar.bz2"