blob: 83a80b57cbe60223bb6a0b32ae28ecd20e23baee (
plain)
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
|
# Maintainer: Hendrik Werner <hendrik.to@gmail.com>
pkgname=backlight_control
pkgver=1.3
pkgrel=1
pkgdesc='Simple backlight brightness control'
arch=('x86_64')
url='https://github.com/Hendrikto/backlight_control'
license=('MIT')
makedepends=('git')
source=("$pkgname-$pkgver::git+https://github.com/Hendrikto/backlight_control.git")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
git checkout $pkgver
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir prefix='/usr' install
install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|