summaryrefslogtreecommitdiff
path: root/manualPorts/bash-git-prompt
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /manualPorts/bash-git-prompt
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'manualPorts/bash-git-prompt')
-rw-r--r--manualPorts/bash-git-prompt/.footprint5
-rw-r--r--manualPorts/bash-git-prompt/.md5sum1
-rw-r--r--manualPorts/bash-git-prompt/.signature5
-rw-r--r--manualPorts/bash-git-prompt/Pkgfile20
-rwxr-xr-xmanualPorts/bash-git-prompt/lastVersion.sh8
5 files changed, 39 insertions, 0 deletions
diff --git a/manualPorts/bash-git-prompt/.footprint b/manualPorts/bash-git-prompt/.footprint
new file mode 100644
index 0000000..b725b64
--- /dev/null
+++ b/manualPorts/bash-git-prompt/.footprint
@@ -0,0 +1,5 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/bash-git-prompt.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/bash-git-prompt
diff --git a/manualPorts/bash-git-prompt/.md5sum b/manualPorts/bash-git-prompt/.md5sum
new file mode 100644
index 0000000..1c68c66
--- /dev/null
+++ b/manualPorts/bash-git-prompt/.md5sum
@@ -0,0 +1 @@
+fd580d09f5a9e160ca6c901e570a99d9 dl.php?dl=bash-git-prompt-1.2.1
diff --git a/manualPorts/bash-git-prompt/.signature b/manualPorts/bash-git-prompt/.signature
new file mode 100644
index 0000000..29c54ce
--- /dev/null
+++ b/manualPorts/bash-git-prompt/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGj4YmQF6XYjbegGOerDYUCWDDA/ECxZfHaczmw8dfYAd142N4tJ6O8yy/KgASqLEaDOCxY1qeYuHNL6lUZQyxwM=
+SHA256 (Pkgfile) = e4f686755b301c2ff555d1727877ec9cb299f7e69eaccc5f3855b1ac466d96a5
+SHA256 (.footprint) = 601f1ab54a07df1fd497822c28244601f3b464a6d73e4596c0e2c98b968c9686
+SHA256 (dl.php?dl=bash-git-prompt-1.2.1) = 8cd3f157c74e6cde775dff203b8df09e9bc36297787251e09fc81ac4c0010829
diff --git a/manualPorts/bash-git-prompt/Pkgfile b/manualPorts/bash-git-prompt/Pkgfile
new file mode 100644
index 0000000..df82304
--- /dev/null
+++ b/manualPorts/bash-git-prompt/Pkgfile
@@ -0,0 +1,20 @@
+# Description: nice, git-aware prompt for bash
+# URL: https://opensources.eckner.net/?ls=bash-git-prompt
+# Maintainer: Erich Eckner, crux at eckner dot net
+
+# any mail client which understands "-t" may replace exim
+
+name=bash-git-prompt
+version=1.2.1
+release=1
+source=("https://opensources.eckner.net/dl.php?dl=${name}-${version}")
+
+build() {
+
+ tar -xf *${name}-${version}
+ls -la
+ cd ${name}-${version}
+ make
+ make DESTDIR=$PKG install
+
+}
diff --git a/manualPorts/bash-git-prompt/lastVersion.sh b/manualPorts/bash-git-prompt/lastVersion.sh
new file mode 100755
index 0000000..2c71e5c
--- /dev/null
+++ b/manualPorts/bash-git-prompt/lastVersion.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+wget -O - "https://opensources.eckner.net/ls.php?ls=bash-git-prompt" 2> /dev/null | \
+ tr "<>" "\n\n" | \
+ grep "^bash-git-prompt-" | \
+ sed "s|^bash-git-prompt-||" | \
+ sort -V | \
+ tail -n1