blob: 39076068d46896a59b4410877cacedbd969ed4b4 (
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
40
41
42
43
44
45
|
# Maintainer: alcubierre-drive
pkgname=backlight-tooler
pkgrel=2
pkgver=r16.bf5a405
pkgdesc="A collection of tools 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' 'etc/BacklightTooler.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
for i in {1..2}; do
echo
done
echo "WARNING"
echo "Changed all the filenames to lowercase+hyphen. Consider reenabling the"
echo "systemd services and moving the config file."
for i in {1..2}; do
echo
done
}
|