summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 976300f4e32c80f82dbc98284358cd6325c4c1b9 (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
# Maintainer: diesys <code@flowin.space>
pkgname=iblu-git
pkgver=r38.0ff4315
pkgrel=1
pkgdesc="Intel Black Light Utility, written in python, allows you to control the screen brightness (iX processors family), via command line interface."
arch=('any')
url="https://git.eigenlab.org/sbiego/iblu"
license=('GPLv3')
depends=('python')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install=$pkgname.install
source=('git+https://git.eigenlab.org/sbiego/iblu')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    ## copia file
	cd "$srcdir/${pkgname%-git}"
    install -D ${pkgname%-git}.py $pkgdir/usr/bin/${pkgname%-git}
}