From d5d8b893352485d1a9eb15c40ed06e267c15a4cb Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 27 Aug 2022 00:14:12 +0300 Subject: pfetch: add new package at 0.6.0 --- community/pfetch/build | 5 +++++ community/pfetch/checksums | 3 +++ community/pfetch/meta | 3 +++ community/pfetch/patches/add-cpt.patch | 25 +++++++++++++++++++++++++ community/pfetch/sources | 2 ++ community/pfetch/version | 1 + 6 files changed, 39 insertions(+) create mode 100755 community/pfetch/build create mode 100644 community/pfetch/checksums create mode 100644 community/pfetch/meta create mode 100644 community/pfetch/patches/add-cpt.patch create mode 100644 community/pfetch/sources create mode 100644 community/pfetch/version (limited to 'community') 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 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 +To: Dylan Araps +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 -- cgit v1.2.3