summaryrefslogtreecommitdiff
path: root/Ports/pfetch
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-12-24 18:38:15 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-01-01 17:35:17 +0000
commit4abc2f669a8b0ca48fd2287403acb5ef32b982b4 (patch)
tree25d5e9fd5f1e1eb850318a70979979aa37f3287c /Ports/pfetch
parentb17fef513383b595ff37447aa43dc0b8449e751c (diff)
downloadserenity-4abc2f669a8b0ca48fd2287403acb5ef32b982b4.zip
Ports: Add pfetch utility
This is a nice and small utility that prints system info based on POSIX interfaces only.
Diffstat (limited to 'Ports/pfetch')
-rwxr-xr-xPorts/pfetch/package.sh6
-rw-r--r--Ports/pfetch/patches/use-bash.patch10
2 files changed, 16 insertions, 0 deletions
diff --git a/Ports/pfetch/package.sh b/Ports/pfetch/package.sh
new file mode 100755
index 0000000000..6f2a0f25d5
--- /dev/null
+++ b/Ports/pfetch/package.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=pfetch
+version=a906ff89680c78cec9785f3ff49ca8b272a0f96b
+depends=("bash")
+files="https://github.com/dylanaraps/pfetch/archive/${version}.zip pfetch.zip 33ed7a0cf1826ded7cf8368972274cd261d236bfa1ad9fb378d3cb0a45376f4a"
+auth_type=sha256
diff --git a/Ports/pfetch/patches/use-bash.patch b/Ports/pfetch/patches/use-bash.patch
new file mode 100644
index 0000000000..ee3d57962f
--- /dev/null
+++ b/Ports/pfetch/patches/use-bash.patch
@@ -0,0 +1,10 @@
+diff --git a/pfetch b/pfetch
+index d47b878..d8f98ba 100755
+--- a/pfetch
++++ b/pfetch
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ #
+ # pfetch - Simple POSIX sh fetch script.
+