blob: 0cf813a796e29c496c8f0b8d47539c44277af67a (
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
|
# Maintainer: alcubierre-drive
pkgname=backlight-tooler
pkgrel=2
pkgver=r17.d9f93ca
pkgdesc="A lightweight tool to control backlight via webcam."
arch=('any')
url="https://github.com/alcubierre-drive/backlight-tooler"
license=('GPL')
depends=('systemd' 'glibc')
makedepends=('git' 'gcc' 'make')
source=("git://github.com/alcubierre-drive/${pkgname}.git")
md5sums=('SKIP')
backup=('etc/backlight-tooler.conf')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
: Nothing
}
build() {
cd "${srcdir}/${pkgname}"
make
}
check() {
: Nothing
}
package() {
cd "${srcdir}/${pkgname}"
PREFIX="$pkgdir/" make install
}
|