summaryrefslogtreecommitdiff
path: root/manualPorts/conky
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/conky')
-rw-r--r--manualPorts/conky/.footprint9
-rw-r--r--manualPorts/conky/.md5sum2
-rw-r--r--manualPorts/conky/.signature6
-rw-r--r--manualPorts/conky/MAX_SP.patch12
-rw-r--r--manualPorts/conky/Pkgfile25
-rwxr-xr-xmanualPorts/conky/lastVersion.sh8
6 files changed, 62 insertions, 0 deletions
diff --git a/manualPorts/conky/.footprint b/manualPorts/conky/.footprint
new file mode 100644
index 0000000..da8084d
--- /dev/null
+++ b/manualPorts/conky/.footprint
@@ -0,0 +1,9 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/conky
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/conky-1.10.8_pre/
+-rw-r--r-- root/root usr/share/doc/conky-1.10.8_pre/conky.conf
+-rw-r--r-- root/root usr/share/doc/conky-1.10.8_pre/conky_no_x11.conf
+-rw-r--r-- root/root usr/share/doc/conky-1.10.8_pre/convert.lua
diff --git a/manualPorts/conky/.md5sum b/manualPorts/conky/.md5sum
new file mode 100644
index 0000000..a1b38bd
--- /dev/null
+++ b/manualPorts/conky/.md5sum
@@ -0,0 +1,2 @@
+273e56f176731e2a8e29c067f06080aa MAX_SP.patch
+b02bc92e4b02d4f18259ab3a26c8c5ba v1.10.8.tar.gz
diff --git a/manualPorts/conky/.signature b/manualPorts/conky/.signature
new file mode 100644
index 0000000..c5f04e8
--- /dev/null
+++ b/manualPorts/conky/.signature
@@ -0,0 +1,6 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGo1yLOmG3YeNaoeqpFb9u5oqPtSMrCVUrjJy/PEa3dsmyTJOygdoKvUPqrRi0B8CidWuy6IGiXDVm0kdJNk1XgQ=
+SHA256 (Pkgfile) = 5d492b57eb6739daeac4cb2da81504d280af2ad50107a52c39f519e6f10baa17
+SHA256 (.footprint) = 0d3d0937f0bd557c6ce7c7c0ec30cf9f0ffc3d66ca9a917af9d4dccf87471418
+SHA256 (v1.10.8.tar.gz) = 2ebd655a27c816bd613538b71d4ec1c096252cb522feaa05f64781dcedea8857
+SHA256 (MAX_SP.patch) = ad125a59bacc548135ae586c0bf79e693d1cc8f23e9159fc9ab66bcf9c00f5a1
diff --git a/manualPorts/conky/MAX_SP.patch b/manualPorts/conky/MAX_SP.patch
new file mode 100644
index 0000000..9c75fbc
--- /dev/null
+++ b/manualPorts/conky/MAX_SP.patch
@@ -0,0 +1,12 @@
+diff -ru3 conky-1.10.1/src/top.h ../conky-1.10.1/src/top.h
+--- conky-1.10.1/src/top.h 2015-11-18 16:47:45.000000000 +0100
++++ ../conky-1.10.1/src/top.h 2015-11-20 20:29:25.993328891 +0100
+@@ -75,7 +75,7 @@
+ * and it'll take me a while to write a replacement. */
+ #define BUFFER_LEN 1024
+
+-#define MAX_SP 10 // number of elements to sort
++#define MAX_SP 20 // number of elements to sort
+
+ /******************************************
+ * Process class *
diff --git a/manualPorts/conky/Pkgfile b/manualPorts/conky/Pkgfile
new file mode 100644
index 0000000..b8950b9
--- /dev/null
+++ b/manualPorts/conky/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Light-weight system monitor
+# URL: http://conky.sourceforge.net/
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Packager: Juergen Daubert, jue at crux dot nu
+# Depends on: curl, glib, xorg-libxdamage, xorg-libxext, xorg-libxft, libircclient
+
+name=conky
+version=1.10.8
+release=1
+source=(https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz MAX_SP.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < $SRC/MAX_SP.patch
+ mkdir build
+ cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLOCALE_DIR=/usr/share/locale \
+ -DBUILD_IRC=on \
+ -DBUILD_CURL=on \
+ ../
+ make
+ make DESTDIR=$PKG install
+}
diff --git a/manualPorts/conky/lastVersion.sh b/manualPorts/conky/lastVersion.sh
new file mode 100755
index 0000000..4a03aac
--- /dev/null
+++ b/manualPorts/conky/lastVersion.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+curl "https://github.com/brndnmtthws/conky/releases" 2> /dev/null | \
+ tr "\"" "\n" | \
+ grep "^/brndnmtthws/conky/archive/v[0-9.-]*\.tar\.gz\$" | \
+ sed "s|^/brndnmtthws/conky/archive/v\(.*\)\.tar\.gz\$|\1|" | \
+ sort -V | \
+ tail -n1