summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwido2016-05-27 21:25:21 +0200
committerwido2016-05-27 21:25:21 +0200
commit5e6382e0d6953c1f8119a153e16fed78977b7dac (patch)
treeda20fc187c5ac2f3c45c012794f12551ea8863b7
downloadaur-xu4fanctl-git.tar.gz
initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD29
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d98fa173ba0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = xu4fanctl-git
+ pkgdesc = fan control daemon for odroid xu4
+ pkgver = r6.e32d18a
+ pkgrel = 1
+ url = https://github.com/L33thium/xu4fanctl
+ arch = armv7h
+ license = GPLv3
+ makedepends = git
+ source = git+https://github.com/L33thium/xu4fanctl.git
+ sha256sums = SKIP
+
+pkgname = xu4fanctl-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9ab5e28e5da
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Flow
+
+pkgname=xu4fanctl-git
+_pkgname=xu4fanctl
+pkgver=r6.e32d18a
+pkgrel=1
+pkgdesc="fan control daemon for odroid xu4"
+arch=('armv7h')
+conflicts=()
+provides=()
+url='https://github.com/L33thium/xu4fanctl'
+license=('GPLv3')
+depends=()
+makedepends=('git')
+source=('git+https://github.com/L33thium/xu4fanctl.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+
+ # Get the version number.
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ install -Dm755 fanctl.py ${pkgdir}/root/fanctl.py
+ install -Dm644 fanctl.service ${pkgdir}/usr/lib/systemd/system/fanctl.service
+}