summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca91e72aecf0b7f28a2ba6f2976bf43e139ef660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=iris-flower
pkgver=1.0
pkgrel=1
pkgdesc="Eye protection utility. Change brightness, color temperature and color scheme on X11"
arch=('i686' 'x86_64')
url="https://github.com/ueberchild/iris-flower"
license=('GPL3')
makedepends=('libx11' 'libxrandr')
source=("https://github.com/ueberchild/iris-flower/blob/master/iris-flower.c")

build() {
	cd "$srcdir/"
	cc -Wall -std=c99 -o iris-flower iris-flower.c -lX11 -lXrandr
}

package() {
  cd "$srcdir/"
  install -D iris-flower "$pkgdir/usr/bin/iris-flower"
}