aboutsummaryrefslogtreecommitdiff
path: root/community/neofetch
diff options
context:
space:
mode:
Diffstat (limited to 'community/neofetch')
-rwxr-xr-xcommunity/neofetch/build5
-rw-r--r--community/neofetch/checksums3
-rw-r--r--community/neofetch/depends1
-rw-r--r--community/neofetch/meta3
-rw-r--r--community/neofetch/patches/add-cpt.patch25
-rw-r--r--community/neofetch/sources2
-rw-r--r--community/neofetch/version1
7 files changed, 40 insertions, 0 deletions
diff --git a/community/neofetch/build b/community/neofetch/build
new file mode 100755
index 00000000..74ba7e6d
--- /dev/null
+++ b/community/neofetch/build
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+patch -p1 < add-cpt.patch
+
+make DESTDIR="$1" install
diff --git a/community/neofetch/checksums b/community/neofetch/checksums
new file mode 100644
index 00000000..e918956a
--- /dev/null
+++ b/community/neofetch/checksums
@@ -0,0 +1,3 @@
+%BLAKE3
+8c842a9c7507bbea7c280c857a8c49a2b213bef4c103e119ef315b78034b5ef6 7.1.0.tar.gz
+94b3fdd341bc895c3709d2a79365fab32fff4b53269771cef6c20e6fe6ce98d3 add-cpt.patch
diff --git a/community/neofetch/depends b/community/neofetch/depends
new file mode 100644
index 00000000..705963a5
--- /dev/null
+++ b/community/neofetch/depends
@@ -0,0 +1 @@
+bash
diff --git a/community/neofetch/meta b/community/neofetch/meta
new file mode 100644
index 00000000..7c01c7e3
--- /dev/null
+++ b/community/neofetch/meta
@@ -0,0 +1,3 @@
+description: CLI system information tool written in Bash
+license: MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
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
new file mode 100644
index 00000000..eed280ee
--- /dev/null
+++ b/community/neofetch/sources
@@ -0,0 +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
new file mode 100644
index 00000000..df7d2412
--- /dev/null
+++ b/community/neofetch/version
@@ -0,0 +1 @@
+7.1.0 2