diff --git a/patches/neofetch/neofetch.patch b/patches/neofetch/neofetch.patch new file mode 100644 index 00000000..c652b367 --- /dev/null +++ b/patches/neofetch/neofetch.patch @@ -0,0 +1,44 @@ +diff -ruN neofetch-clean/neofetch neofetch/neofetch +--- neofetch-clean/neofetch 2022-10-11 23:41:56.059897155 -0300 ++++ neofetch/neofetch 2022-10-11 23:46:14.506561675 -0300 +@@ -929,6 +929,7 @@ + AIX) os=AIX ;; + IRIX*) os=IRIX ;; + FreeMiNT) os=FreeMiNT ;; ++ Astral) os=Astral ;; + + Linux|GNU*) + os=Linux +@@ -954,6 +955,7 @@ + [[ $distro ]] && return + + case $os in ++ Astral) distro=Astral;; + Linux|BSD|MINIX) + if [[ -f /bedrock/etc/bedrock-release && $PATH == */bedrock/cross/* ]]; then + case $distro_shorthand in +@@ -5288,6 +5290,24 @@ + # + # $ascii_distro is the same as $distro. + case $(trim "$ascii_distro") in ++ "Astral"*) ++ set_colors 4 7 ++ read -rd '' ascii_data <<'EOF' ++ ++${c2} .::. ++ .:' .: ++ * ${c1}MMM8&&${c2}.::' .:' ++ ${c1}MMMM${c2}.::'${c1}&&${c2} .:' ++ ${c1}MM${c2}..:'${c1}88&&&&&& ++ ${c1}M${c2}.:'${c1}MM88&&&&&& ++ ${c2}.:'${c1}MMMM88&&&&&& ${c2}* ++ ${c2}.:' ${c1}MMMMM88&&&& ++${c2}.:' * .:'${c1}MMM8&&&' ++${c2}:' .:' ++${c2}'::' * ++ ++EOF ++ ;; + "AIX"*) + set_colors 2 7 + read -rd '' ascii_data <<'EOF' diff --git a/recipes/neofetch b/recipes/neofetch new file mode 100644 index 00000000..468c678f --- /dev/null +++ b/recipes/neofetch @@ -0,0 +1,23 @@ +name=neofetch +revision=1 +from_source=neofetch +rundeps="bash" + + +configure() { + + true + +} + +build() { + + true + +} + +install() { + mkdir -p ${dest_dir}/usr/bin + cp -f ${source_dir}/neofetch ${dest_dir}/usr/bin/neofetch + +} diff --git a/source-recipes/neofetch b/source-recipes/neofetch new file mode 100644 index 00000000..69ca45f3 --- /dev/null +++ b/source-recipes/neofetch @@ -0,0 +1,8 @@ +name=neofetch +version=7.1.0 +source_method=tarball +tarball_url="https://github.com/dylanaraps/neofetch/archive/refs/tags/${version}.tar.gz" +tarball_sha512=fe1013fb54585c15ba556054478a2c8c503120387e81bd16bfdfbb6f3a188ed4124585540abf43da9209cbbe0d7fb90d50914cd6620137d00f013cfb6954a042 +regenerate() { + true +}