Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
d0e0c67c2d
commit
f47e82b5f9
6
PKGBUILD
6
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
_pkgname=xsct
|
_pkgname=xsct
|
||||||
pkgname=$_pkgname-git
|
pkgname=$_pkgname-git
|
||||||
pkgver=r38.1bfe075
|
pkgver=r41.1cf765e
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='set color temperature of screen'
|
pkgdesc='set color temperature of screen'
|
||||||
url='https://github.com/faf0/sct'
|
url='https://github.com/faf0/sct'
|
||||||
|
@ -33,10 +33,10 @@ pkgver() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd sct
|
cd sct
|
||||||
gcc -Wall -Wextra -Werror -pedantic -std=c99 -O2 -I /usr/X11R6/include xsct.c -o xsct -L /usr/X11R6/lib -lX11 -lXrandr -lm -s
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd sct
|
cd sct
|
||||||
install -Dm755 xsct "$pkgdir/usr/bin/xsct"
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user