blob: 34feecb8e58a599800589259722c92b430f39b9b (
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
|
# Maintainer: Steven Allen <steven@stebalien.com>
pkgname=backlight-sync-git
pkgver=r17.f65d3d9
pkgrel=2
epoch=
pkgdesc="Automatic backlight sync between a laptop and a monitor"
arch=('any')
url="https://github.com/Stebalien/backlight-sync"
license=('GPL3')
depends=('i2c-tools')
makedepends=('git' 'rust')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/Stebalien/backlight-sync.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make PREFIX=/usr DESTDIR="$pkgdir/" build
}
package() {
cd "$srcdir/${pkgname%-git}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|