blob: 28f24d5bcf6cf53fb2944925590361bae2ce0f56 (
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
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: alcubierre-drive
pkgname=backlight-tooler
pkgrel=1
pkgver=r42.17702f9
pkgdesc="A lightweight tool to control backlight via webcam."
arch=('any')
url="https://github.com/alcubierre-drive/backlight-tooler"
license=('GPL')
depends=('systemd' 'glibc' 'linux-headers')
makedepends=('git' 'gcc' 'make')
source=("git+http://github.com/alcubierre-drive/${pkgname}.git")
md5sums=('SKIP')
backup=('etc/backlight-tooler.conf')
install=backlight-tooler.install
pkgver() {
cd "$pkgname"
git checkout 17702f989f05818e11a36927b9d2fce12cc382dd
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
: Nothing
}
build() {
cd "${srcdir}/${pkgname}"
git checkout 17702f989f05818e11a36927b9d2fce12cc382dd
make
}
check() {
: Nothing
}
package() {
cd "${srcdir}/${pkgname}"
PREFIX="$pkgdir/" make install
}
|