aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-08-27 00:14:12 +0300
committerCem Keylan <cem@ckyln.com>2022-08-27 09:35:03 +0300
commitd5d8b893352485d1a9eb15c40ed06e267c15a4cb (patch)
treed5c7fcb28cfed08eca399b95ec11d4aec1846829
parent14c4229e7bc9cdc821e9142c35e97b18e00f78a5 (diff)
downloadrepository-d5d8b893352485d1a9eb15c40ed06e267c15a4cb.tar.gz
pfetch: add new package at 0.6.0
-rwxr-xr-xcommunity/pfetch/build5
-rw-r--r--community/pfetch/checksums3
-rw-r--r--community/pfetch/meta3
-rw-r--r--community/pfetch/patches/add-cpt.patch25
-rw-r--r--community/pfetch/sources2
-rw-r--r--community/pfetch/version1
6 files changed, 39 insertions, 0 deletions
diff --git a/community/pfetch/build b/community/pfetch/build
new file mode 100755
index 00000000..ff52ebfc
--- /dev/null
+++ b/community/pfetch/build
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+patch -p1 < add-cpt.patch
+
+install -Dm 755 pfetch "$1/usr/bin/pfetch"
diff --git a/community/pfetch/checksums b/community/pfetch/checksums
new file mode 100644
index 00000000..c779378e
--- /dev/null
+++ b/community/pfetch/checksums
@@ -0,0 +1,3 @@
+%BLAKE3
+4adf968447b194fb90e10c30af376109363c611a107b028440f72319a28d0358 0.6.0.tar.gz
+e2acae5d54322f6364c3d24474ad1052bcb91ab15c0d09cb5cb1c585e6cde757 add-cpt.patch
diff --git a/community/pfetch/meta b/community/pfetch/meta
new file mode 100644
index 00000000..e1f0fbc8
--- /dev/null
+++ b/community/pfetch/meta
@@ -0,0 +1,3 @@
+description: System information tool written in POSIX sh
+license: MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/community/pfetch/patches/add-cpt.patch b/community/pfetch/patches/add-cpt.patch
new file mode 100644
index 00000000..faafacd7
--- /dev/null
+++ b/community/pfetch/patches/add-cpt.patch
@@ -0,0 +1,25 @@
+From 03b4f3db7364372f6e8298a3ec904cb837050d9f Mon Sep 17 00:00:00 2001
+From: Cem Keylan <cem@ckyln.com>
+To: Dylan Araps <dylan@k1ss.org>
+Date: Wed, 16 Sep 2020 15:16:10 +0300
+Subject: [PATCH][pfetch] get_pkgs(): add Carbs Packaging Tools
+
+---
+ pfetch | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/pfetch b/pfetch
+index 625e9e1..755ad2a 100755
+--- a/pfetch
++++ b/pfetch
+@@ -491,6 +491,7 @@ get_pkgs() {
+
+ # Directories containing packages.
+ has kiss && printf '%s\n' /var/db/kiss/installed/*/
++ has cpt-list && printf '%s\n' /var/db/cpt/installed/*/
+ has brew && printf '%s\n' "$(brew --cellar)/"*
+ has emerge && printf '%s\n' /var/db/pkg/*/*/
+ has pkgtool && printf '%s\n' /var/log/packages/*
+--
+2.28.0
+
diff --git a/community/pfetch/sources b/community/pfetch/sources
new file mode 100644
index 00000000..dc607c77
--- /dev/null
+++ b/community/pfetch/sources
@@ -0,0 +1,2 @@
+https://github.com/dylanaraps/pfetch/archive/0.6.0.tar.gz
+patches/add-cpt.patch
diff --git a/community/pfetch/version b/community/pfetch/version
new file mode 100644
index 00000000..48a8464b
--- /dev/null
+++ b/community/pfetch/version
@@ -0,0 +1 @@
+0.6.0 1