-
Notifications
You must be signed in to change notification settings - Fork 1
/
PKGBUILD
29 lines (27 loc) · 953 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Theophilos Giannakopoulos <theo@abstractnonsense.org>
pkgname='intel-brightness-control'
pkgver=1.0.0
pkgrel=1
pkgdesc="Control brightness for systems with intel_backlight"
arch=('any')
url='https://github.com/tgiannak/intel-backlight-control'
license=('BSD')
depends=('sh' 'coreutils' 'bc' 'acpid')
source=("brightness"
"brightnessup"
"brightnessdown"
"LICENSE")
md5sums=('5ca8352af157ec3380285a7adfa38676'
'348e536ee9e92d22864c30f66768c74b'
'bf9a01e01f5e66f7499218e0dcfc48c3'
'5d3b8820b4c3352d380cd46246c3f5e7')
package() {
install -Dm755 "$srcdir/brightness" \
"$pkgdir/usr/bin/brightness"
install -Dm644 "$srcdir/brightnessup" \
"$pkgdir/etc/acpi/events/brightnessup"
install -Dm644 "$srcdir/brightnessdown" \
"$pkgdir/etc/acpi/events/brightnessdown"
install -Dm644 "$srcdir/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}