aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratka <atka@tuta.io>2020-09-22 17:24:41 -0800
committerLeo <thinkabit.ukim@gmail.com>2020-09-23 00:40:39 -0300
commitf94354b7f00a4fbf5e42425a369936b1febc344f (patch)
tree3c5a0c2e681366ed1349d62069df4164d5c6e8dd
parent0c605dc5f8f4c8e8343878ff302a0c34906254fc (diff)
downloadaports-f94354b7f00a4fbf5e42425a369936b1febc344f.tar.gz
aports-f94354b7f00a4fbf5e42425a369936b1febc344f.tar.bz2
aports-f94354b7f00a4fbf5e42425a369936b1febc344f.tar.xz
testing/sct: new aport
https://flak.tedunangst.com/post/sct-set-color-temperature Set color temperature
-rw-r--r--testing/sct/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/sct/APKBUILD b/testing/sct/APKBUILD
new file mode 100644
index 0000000000..400321252d
--- /dev/null
+++ b/testing/sct/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: atka <atka@tuta.io>
+# Maintainer: atka <atka@tuta.io>
+pkgname=sct
+pkgver=2018.12.18
+pkgrel=0
+pkgdesc="Set color temperature"
+url="https://flak.tedunangst.com/post/sct-set-color-temperature"
+arch="all"
+license="public domain"
+depends="libx11-dev libxrandr-dev"
+source="https://flak.tedunangst.com/files/sct.c"
+builddir="$srcdir"
+options="!check" # no tests provided
+
+build() {
+ cc -std=c99 -O2 -I /usr/X11R6/include -o sct sct.c -L /usr/X11R6/lib -lm -lX11 -lXrandr
+}
+
+package() {
+ install -D -m 755 "$srcdir"/sct "$pkgdir"/usr/bin/sct
+}
+
+sha512sums="9ec311d7e2b9081f667ef61045c8cec802a9d35f22ef76de23e7d0de918bcf6cd774d2d1bf653f541dc5af98f0a4445889cd8564b4b134f0c8aa38a8e37093b5 sct.c"