summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorssharunas2018-04-11 14:08:23 +0300
committerssharunas2018-04-11 14:08:23 +0300
commitf85ffdb90e8cb950f620e63d8720a8e1251d4093 (patch)
tree0757f56f6fa0cc1e9a2ed5418e6eeabdf4239d06
downloadaur-f85ffdb90e8cb950f620e63d8720a8e1251d4093.tar.gz
Initiall commit
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD49
-rw-r--r--gkrellm.service11
4 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8a6cd04d5ab
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = gkrellmd-git
+ pkgdesc = Headless version of system monitor package
+ pkgver = 20160206.5e76842
+ pkgrel = 1
+ url = http://gkrellm.srcbox.net/
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = gettext
+ makedepends = git
+ makedepends = make
+ depends = lm_sensors
+ provides = gkrellm
+ conflicts = gkrellm
+ options = emptydirs
+ backup = etc/gkrellmd.conf
+ source = gkrellm.service
+ source = git://git.srcbox.net/gkrellm
+ md5sums = 63c78daed61c82b933f558177f6d3721
+ md5sums = SKIP
+
+pkgname = gkrellmd-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..20b7573648a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+gkrellm/
+gkrellmd-git-2*
+pkg/
+src/
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2b8e7cdd58
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+## PKGBUILD adapted from community/gkrellm 2.3.5-5
+# Maintainer: Šarūnas Gliebus <ssharunas at yahoo.co.uk>
+# Contributor: Troy Engel <troyengel+arch@gmail.com>
+# Contributor: Laurent Carlier <lordheavym@gmail.com>
+# Contributor: dorphell <dorphell@archlinux.org>
+# Contributor: Matt Smith (Majik) <darkknight@helpdesk.zaz.net>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Jozef Riha <jose1711@gmail.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+
+_gitname=gkrellm
+pkgname=${_gitname}d-git
+pkgver=20180411.c306bb7
+pkgrel=1
+pkgdesc="Headless version of system monitor package"
+arch=('x86_64' 'i686')
+url="http://gkrellm.srcbox.net/"
+license=('GPL3')
+depends=('lm_sensors')
+makedepends=('gettext' 'git' 'make')
+provides=('gkrellm')
+conflicts=('gkrellm')
+backup=('etc/gkrellmd.conf')
+options=('emptydirs')
+source=('gkrellm.service'
+ 'git://git.srcbox.net/gkrellm')
+md5sums=('63c78daed61c82b933f558177f6d3721'
+ 'SKIP')
+
+
+pkgver() {
+ cd ${srcdir}/${_gitname}
+ echo $(date +%Y%m%d).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd ${srcdir}/${_gitname}/server
+ make LOCALEDIR=/usr/share/locale SYS_LIBS+=-lgmodule-2.0
+}
+
+package() {
+ cd ${srcdir}/${_gitname}/server
+
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ install -Dm644 "gkrellmd.conf" "$pkgdir/etc/gkrellmd.conf"
+ install -Dm644 "../../gkrellm.service" "$pkgdir/usr/lib/systemd/system/gkrellm.service"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/gkrellm.service b/gkrellm.service
new file mode 100644
index 00000000000..9234b8a79d9
--- /dev/null
+++ b/gkrellm.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=GNU Krell Monitors server
+After=network.target
+# If hddtemp is added to the dependencies in the PKGBUILD, then use
+#After=network.target hddtemp.service
+
+[Service]
+ExecStart=/usr/bin/gkrellmd
+
+[Install]
+WantedBy=multi-user.target