aboutsummaryrefslogtreecommitdiffstats
path: root/community/brightnessctl/APKBUILD
blob: 83cb490148a523e194305f71cd6111f40b8d3c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Julian <juw@posteo.de>
pkgname=brightnessctl
pkgver=0.5.1
pkgrel=3
pkgdesc="Program to read and control device brightness"
options="!check" # No testsuite
url="https://github.com/Hummer12007/brightnessctl"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
install="$pkgname.post-install"
source="$pkgname-$pkgver.tar.gz::https://github.com/Hummer12007/brightnessctl/archive/$pkgver.tar.gz"

build() {
	make INSTALL_UDEV_RULES=1
}

package() {
	make install DESTDIR="$pkgdir" INSTALL_UDEV_RULES=1
}

sha512sums="41ac86357b3b5a3d54a043140a6bdb1fb68d5080a16e86692059ad58f4b9134a8532432a3f664c70c665a4ad73ea8a94cc9b88fa84abc28f0356b8b397aaebc7  brightnessctl-0.5.1.tar.gz"