aboutsummaryrefslogtreecommitdiff
path: root/community/neofetch
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-08-27 00:10:03 +0300
committerCem Keylan <cem@ckyln.com>2022-08-27 00:10:03 +0300
commit14c4229e7bc9cdc821e9142c35e97b18e00f78a5 (patch)
treeb1b4b7526c8808e9fba72e68b8c862cce5309f86 /community/neofetch
parentc2f9c714a12949a4d2995fbc59eb6e8ce83818bd (diff)
downloadrepository-14c4229e7bc9cdc821e9142c35e97b18e00f78a5.tar.gz
neofetch: add support for cpt
Diffstat (limited to 'community/neofetch')
-rwxr-xr-xcommunity/neofetch/build2
-rw-r--r--community/neofetch/checksums1
-rw-r--r--community/neofetch/patches/add-cpt.patch25
-rw-r--r--community/neofetch/sources1
-rw-r--r--community/neofetch/version2
5 files changed, 30 insertions, 1 deletions
diff --git a/community/neofetch/build b/community/neofetch/build
index d5f438d8..74ba7e6d 100755
--- a/community/neofetch/build
+++ b/community/neofetch/build
@@ -1,3 +1,5 @@
#!/bin/sh -e
+patch -p1 < add-cpt.patch
+
make DESTDIR="$1" install
diff --git a/community/neofetch/checksums b/community/neofetch/checksums
index 1ccdd59d..e918956a 100644
--- a/community/neofetch/checksums
+++ b/community/neofetch/checksums
@@ -1,2 +1,3 @@
%BLAKE3
8c842a9c7507bbea7c280c857a8c49a2b213bef4c103e119ef315b78034b5ef6 7.1.0.tar.gz
+94b3fdd341bc895c3709d2a79365fab32fff4b53269771cef6c20e6fe6ce98d3 add-cpt.patch
diff --git a/community/neofetch/patches/add-cpt.patch b/community/neofetch/patches/add-cpt.patch
new file mode 100644
index 00000000..78218026
--- /dev/null
+++ b/community/neofetch/patches/add-cpt.patch
@@ -0,0 +1,25 @@
+From f77d157496f7816ca1c03acef6a349a4db3c374d 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:12:00 +0300
+Subject: [PATCH][neofetch] get_packages(): add Carbs Packaging Tools
+
+---
+ neofetch | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/neofetch b/neofetch
+index 4a38096..0df70a8 100755
+--- a/neofetch
++++ b/neofetch
+@@ -1489,6 +1489,7 @@ get_packages() {
+ Linux|BSD|"iPhone OS"|Solaris)
+ # Package Manager Programs.
+ has kiss && tot kiss l
++ has cpt-list && tot cpt-list
+ has pacman-key && tot pacman -Qq --color never
+ has dpkg && tot dpkg-query -f '.\n' -W
+ has rpm && tot rpm -qa
+--
+2.28.0
+
diff --git a/community/neofetch/sources b/community/neofetch/sources
index e6c89e80..eed280ee 100644
--- a/community/neofetch/sources
+++ b/community/neofetch/sources
@@ -1 +1,2 @@
https://github.com/dylanaraps/neofetch/archive/7.1.0.tar.gz
+patches/add-cpt.patch
diff --git a/community/neofetch/version b/community/neofetch/version
index 452f8a8b..df7d2412 100644
--- a/community/neofetch/version
+++ b/community/neofetch/version
@@ -1 +1 @@
-7.1.0 1
+7.1.0 2