blob: b733bec563f7fbf14855abbe8d9df66d10a6c93e (
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: "Kirk Gleason <kirk at kirkg dot us>"
pkgname=lightum-git
pkgver=2.3.1
pkgrel=1
pkgdesc="Lightum is a daemon to control the keyboard brightness and screen backlight on MacBook based laptops."
arch=(i386 x86_64)
depends=(dbus glib2 libsystemd libx11 libxext libxss glibc)
url="https://github.com/poliva/lightum"
license=('GPL2')
md5sums=(SKIP)
#source=('lightum-git::git+https://github.com/poliva/lightum.git')
source=('lightum-git::git://github.com/poliva/lightum.git')
pkgver() {
cd "$pkgname"
git describe --always | sed 's|v||;s|-.*||'
}
prepare() {
cd "$pkgname"
patch -p1 -i ../../lightum-git.diff
}
build() {
cd "$pkgname"
make
}
check() {
cd "$pkgname"
true
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir/" install
}
|