blob: 2ca151f2b49c6debcbff30b3073a3a1a53091bbd (
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
|
# Maintainer: Thomas Voss <mail@thomasvoss.com>
pkgname=clux
pkgver=1.0.1
pkgrel=1
pkgdesc="Command-line utility to interact with screen brightness"
arch=('x86_64' 'i686')
url="https://git.thomasvoss.com/lux"
license=('BSD')
depends=('liblux')
makedepends=('git')
provides=("$pkgname")
conflicts=("$pkgname")
source=("$pkgname::git+git://git.thomasvoss.com/lux.git#tag=v$pkgver")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags --long | sed 's/^v//; s/-.*//'
}
build() {
cd $pkgname
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" PREFIX="/usr" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
|