summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9e91b3a5aa2da7c148b5acac4f9b26880a2f798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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=("git+https://github.com/ueberchild/iris-flower.git")
md5sums=('SKIP')

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

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