aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-03-10 17:18:06 +0000
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-11 14:52:34 +0100
commit13110478073a90f6f7d9a5e9d1009bbf9c0b0386 (patch)
treea7ebd5b1cff4b2c4beb819a173fbe5cd56ffbf64
parent566d6b286b0f3d81843932df833eb0c9958e03f8 (diff)
downloadaports-13110478073a90f6f7d9a5e9d1009bbf9c0b0386.tar.gz
aports-13110478073a90f6f7d9a5e9d1009bbf9c0b0386.tar.bz2
aports-13110478073a90f6f7d9a5e9d1009bbf9c0b0386.tar.xz
main/xbacklight: upgrade to 1.2.2, clarify license, modernize
-rw-r--r--main/xbacklight/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/xbacklight/APKBUILD b/main/xbacklight/APKBUILD
index 1b55f54dcd..422f6992b1 100644
--- a/main/xbacklight/APKBUILD
+++ b/main/xbacklight/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xbacklight
-pkgver=1.2.1
+pkgver=1.2.2
pkgrel=0
-pkgdesc="Sets backlight level using the RandR 1.2 BACKLIGHT output property"
-url="http://xorg.freedesktop.org/"
+pkgdesc="Adjusts backlight level using the RandR 1.2 output property"
+url="http://xorg.freedesktop.org"
arch="all"
-license="custom"
+license="MIT"
subpackages="$pkgname-doc"
makedepends="libx11-dev libxrandr-dev xcb-util-wm-dev"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
@@ -17,16 +17,13 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="0066f23f69ca3ef62dcaeb74a87fdc48 xbacklight-1.2.1.tar.bz2"
-sha256sums="17f6cf51a35eaa918abec36b7871d28b712c169312e22a0eaf1ffe8d6468362b xbacklight-1.2.1.tar.bz2"
-sha512sums="9a0afebea2fe155ab7d1ad00ef27566daeb7dc4fd47523511f1b8e8ac30977f938a08783bc0c7443fe92ebff1c17c68c78d44db08b32768d7831128130e0637d xbacklight-1.2.1.tar.bz2"
+sha512sums="4dca70ef8e3494b19ea126c46395807cddc007b2b09a133810daeb77ae27fa36ac4eec7813828248fc195abe27f59700cfa58ee65ef3a020a51f73e5107678ec xbacklight-1.2.2.tar.bz2"