summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorWael Karram <wael@waelk.tech>2023-09-18 14:22:42 +0300
committerbill-auger <mr.j.spam.me@gmail.com>2023-11-20 02:56:39 -0500
commit7f66c21f330cada26302000d96ec8a848ee7cccc (patch)
treefded0ad1c0275d0248c78f5fceee094ca6d293d1 /pcr
parent85c2a8a85dcfec718618f195ccc76560c8554586 (diff)
Added zcfan, a simple fan control daemon written in C.
Diffstat (limited to 'pcr')
-rw-r--r--pcr/zcfan/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/zcfan/PKGBUILD b/pcr/zcfan/PKGBUILD
new file mode 100644
index 000000000..3e8d3f503
--- /dev/null
+++ b/pcr/zcfan/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer (aur): Chris Down <chris@chrisdown.name>
+# Maintainer: Wael Karram <wael@waelk.tech>
+
+
+# parabola changes and rationale:
+# - rename upstream source-ball
+
+
+pkgname=zcfan
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Zero-configuration fan control for ThinkPad'
+url="https://github.com/cdown/zcfan"
+license=('MIT')
+arch=('i686' 'x86_64') # could be 'any'; but avoid publishing to non-x86 repos
+depends=()
+makedepends=()
+source=(${pkgname}-${pkgver}.zip::https://github.com/cdown/zcfan/archive/refs/tags/${pkgver}.zip)
+md5sums=('a31abbb6d342429752fb200b62aa7cbd')
+
+build() {
+ cd -- "${srcdir?}/$pkgname-$pkgver"
+ make prefix="/usr"
+}
+
+package() {
+ cd -- "${srcdir?}/$pkgname-$pkgver"
+ make prefix="/usr" DESTDIR="$pkgdir/" install
+}