Hello,
Ever since thinkfan decided to move to a yaml-style config the source code got
quite bloated and the configuration became much less user friendly.
I've found zcfan as a light alternative that has a simple configuration and
works on sane defaults out of the box without needing configuration and the
configuration file is just 3 lines.

-- 
Kind Regards,
Wael Karram.


From a4d6ed5eb36f6f904d4d48e3f2307fa37ed727f3 Mon Sep 17 00:00:00 2001
From: wael <[email protected]>
Date: Mon, 20 Mar 2023 19:48:55 +0200
Subject: [PATCH] Added PKGBUILD for zcfan as a lighter alterantive to
 thinkfan.

---
 pcr/zcfan/PKGBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 pcr/zcfan/PKGBUILD

diff --git a/pcr/zcfan/PKGBUILD b/pcr/zcfan/PKGBUILD
new file mode 100644
index 0000000000..ec8407afc9
--- /dev/null
+++ b/pcr/zcfan/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer (AUR): Chris Down <[email protected]>
+# Maintainer (Parabola): Wael Karram <[email protected]>
+
+# Parabola Changes and Rationale:
+# Decouple hardcoded text as much as possible.
+# Planned Changes:
+# Build directly from tagged git sources instead of file.
+
+pkgname=zcfan
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Zero-configuration fan control for ThinkPad'
+url="https://github.com/cdown/zcfan";
+license=('MIT')
+arch=('any')
+depends=()
+#makedepends=(git)
+source=("https://github.com/cdown/${pkgname}/archive/${pkgver}.zip";)
+md5sums=('a31abbb6d342429752fb200b62aa7cbd')
+#source=("${pkgname}::git+https://github.com/cdown/${pkgname}.git";)
+#sha512sums=('SKIP')
+
+build() {
+	cd -- "${srcdir?}/$pkgname-$pkgver"
+	make prefix="/usr"
+}
+
+package() {
+	cd -- "${srcdir?}/$pkgname-$pkgver"
+	make prefix="/usr" DESTDIR="$pkgdir/" install
+}
-- 
2.39.2

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to