From 2c34b0ac03c509d026788ee1ccd3bdba45268ec5 Mon Sep 17 00:00:00 2001 From: Liam Waldron Date: Wed, 8 Mar 2023 12:31:33 -0500 Subject: [PATCH] add neofetch --- universe/neofetch | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 universe/neofetch diff --git a/universe/neofetch b/universe/neofetch new file mode 100644 index 0000000..a66fa3c --- /dev/null +++ b/universe/neofetch @@ -0,0 +1,65 @@ +# +# neofetch +# + +# Package metadata +PACKAGE_NAME="neofetch" +PACKAGE_VER="7.1.0" +PACKAGE_DESC="A command-line system information tool written in bash 3.2+" +MAINTAINER="liamwaldron@everestlinux.org" +LICENSE="MIT" +ARCH="x86" +INCLUDED_FILES=("/usr/bin/neofetch" "/usr/share/man/man1/neofetch.1") + +# Integrity checking +SHA256SUMS="8e90cc7d988fbbfca08e138436a0a88167f955a3b7cd5ec074745efd606d6a6d" + +# Dependency information +DEPENDS=("bash") +CONFLICTS=("") + +# Source information +PACKAGE_SRC="https://githib.com/dylanaraps/neofetch" +SOURCES=("neofetch") + +# Installation +getsource() { + git clone $PACKAGE_SRC +} + +buildpkg() { + cd ${SOURCES[1]} +} + +installpkg() { + make install +} + +installpkg_system() { + printf "${red}[${error}]${reset} Package 'neofetch' does not support merging into the system index.\n" + exit 1 +} + +removepkg() { + rm /usr/bin/neofetch + rm -rf /usr/share/man/man1/neofetch.1* +} + +removepkg_system() { + printf "${red}[${error}]${reset} Package 'neofetch' does not support merging into the system index.\n" + exit 1 +} + +updatepkg() { + buildpkg "$@" + installpkg "$@" +} + +updatepkg_system() { + printf "${red}[${error}]${reset} Package 'neofetch' does not support merging into the system index.\n" + exit 1 +} + +# +# end neofetch +#