summaryrefslogtreecommitdiff
path: root/manualPorts/gitstats
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-02-04 09:15:11 +0100
committerErich Eckner <git@eckner.net>2021-02-04 09:15:11 +0100
commit9d23d9a61125585f7e5e67b6e9f3f948ce6df0ef (patch)
tree421d4a71f87ce21aff961f9f3c1cf0f5743c3f20 /manualPorts/gitstats
parent1e6c7b207c8edbdf356ef18c69ab0e5a58d793aa (diff)
downloadcrux-ports-9d23d9a61125585f7e5e67b6e9f3f948ce6df0ef.tar.xz
renamed gitstats-git -> gitstats
Diffstat (limited to 'manualPorts/gitstats')
-rw-r--r--manualPorts/gitstats/.footprint10
-rw-r--r--manualPorts/gitstats/.md5sum1
-rw-r--r--manualPorts/gitstats/.signature5
-rw-r--r--manualPorts/gitstats/Pkgfile17
-rwxr-xr-xmanualPorts/gitstats/lastVersion.sh7
5 files changed, 40 insertions, 0 deletions
diff --git a/manualPorts/gitstats/.footprint b/manualPorts/gitstats/.footprint
new file mode 100644
index 0000000..68b5a39
--- /dev/null
+++ b/manualPorts/gitstats/.footprint
@@ -0,0 +1,10 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/gitstats
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/gitstats/
+-rw-r--r-- root/root usr/share/gitstats/arrow-down.gif
+-rw-r--r-- root/root usr/share/gitstats/arrow-none.gif
+-rw-r--r-- root/root usr/share/gitstats/arrow-up.gif
+-rw-r--r-- root/root usr/share/gitstats/gitstats.css
+-rw-r--r-- root/root usr/share/gitstats/sortable.js
diff --git a/manualPorts/gitstats/.md5sum b/manualPorts/gitstats/.md5sum
new file mode 100644
index 0000000..82120cd
--- /dev/null
+++ b/manualPorts/gitstats/.md5sum
@@ -0,0 +1 @@
+799182e510fc8b2cb6b01b1b10121b12 55c5c28.tar.gz
diff --git a/manualPorts/gitstats/.signature b/manualPorts/gitstats/.signature
new file mode 100644
index 0000000..e760125
--- /dev/null
+++ b/manualPorts/gitstats/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGq6+1j226Ad+417MAc3nwq2Xim/vkM0v6x0QSigWF4Zh86Mv4zI2vi0lOcYRQIhXM6XN7onNdTIj6VlxL4GAFgE=
+SHA256 (Pkgfile) = 929a7048bdc341afea77f42511675c5f4972a51e9b89b1f126651e8a52ddd16c
+SHA256 (.footprint) = 99243c81289290e4017a474f20c6367e13170773d53d98cb7ee067903cac032b
+SHA256 (55c5c28.tar.gz) = e1cf837bb14f8124f3eb0133bdd015ddbd599f974e1657b90b85790b00dcacfe
diff --git a/manualPorts/gitstats/Pkgfile b/manualPorts/gitstats/Pkgfile
new file mode 100644
index 0000000..2b41ca8
--- /dev/null
+++ b/manualPorts/gitstats/Pkgfile
@@ -0,0 +1,17 @@
+# Description: A statistics generator for git repositories.
+# URL: http://gitstats.sourceforge.net
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: git python gnuplot
+
+name=gitstats
+version=294.55c5c28
+release=1
+source=("https://github.com/hoxu/${name}/archive/${version#*.}.tar.gz")
+
+build() {
+
+ cd "${name}-${version#*.}"*
+
+ make PREFIX="$PKG/usr" install
+
+}
diff --git a/manualPorts/gitstats/lastVersion.sh b/manualPorts/gitstats/lastVersion.sh
new file mode 100755
index 0000000..b068966
--- /dev/null
+++ b/manualPorts/gitstats/lastVersion.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+git -C /usr/src/github/gitstats fetch --all -p >/dev/null 2>&1
+
+printf '%s.%s\n' \
+ "$(git -C /usr/src/github/gitstats rev-list --count origin/master)" \
+ "$(git -C /usr/src/github/gitstats rev-parse --short origin/master)"