summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 303d7f799a3688576220cb76987cc8b8b6b7e10e (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
# Maintainer: Felix Springer <felixspringer149@gmail.com>

pkgname=blugon
pkgdesc="simple, highly configurable Blue Light Filter for X"
pkgver=1.7
pkgrel=2
arch=('x86_64')
url="https://github.com/jumper149/blugon"
license=('Apache')
depends=('libx11' 'libxrandr' 'python')
optdepends=('xorg-xgamma: backend')
source=('git+https://github.com/jumper149/blugon.git')
_gitname="blugon"
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_gitname}"
  grep "VERSION =" "blugon.py" | cut --delimiter="'" --fields=2
}

build() {
  cd "${_gitname}"
  make
}

package() {
  cd "${_gitname}"
  make install DESTDIR="${pkgdir}"
}