summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTroy Engel2015-06-13 18:02:57 -0500
committerTroy Engel2015-06-13 18:02:57 -0500
commit31afb48c9bf5d56e5d7021bef2809629380a5608 (patch)
treeb8736d898d8722b9dc08b285ef8c22a9959cf5ab
downloadaur-31afb48c9bf5d56e5d7021bef2809629380a5608.tar.gz
Initial import
-rw-r--r--.AURINFO25
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD48
-rw-r--r--gkrellm.service11
4 files changed, 109 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..e9eec88fa0a
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,25 @@
+pkgbase = gkrellm-git
+ pkgdesc = System monitor package for GTK2
+ pkgver = 20141122.4263ff1
+ pkgrel = 1
+ url = http://gkrellm.srcbox.net/
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = gettext
+ makedepends = git
+ makedepends = make
+ depends = gtk2
+ depends = libsm
+ 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 = gkrellm-git
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e9eec88fa0a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = gkrellm-git
+ pkgdesc = System monitor package for GTK2
+ pkgver = 20141122.4263ff1
+ pkgrel = 1
+ url = http://gkrellm.srcbox.net/
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = gettext
+ makedepends = git
+ makedepends = make
+ depends = gtk2
+ depends = libsm
+ 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 = gkrellm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b23d963ff5e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+## PKGBUILD adapted from community/gkrellm 2.3.5-5
+# Maintainer: 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}-git
+pkgver=20141122.4263ff1
+pkgrel=1
+pkgdesc="System monitor package for GTK2"
+arch=('x86_64' 'i686')
+url="http://gkrellm.srcbox.net/"
+license=('GPL3')
+depends=('gtk2' 'libsm' '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}
+ make LOCALEDIR=/usr/share/locale SYS_LIBS+=-lgmodule-2.0
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ install -Dm644 "server/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