Compare commits

..

2 Commits

Author SHA1 Message Date
d17ed6c094 Merge branch 'main' of https://git.everestlinux.org/EverestLinux/epkgs-x86-musl
changes to world/nano were not reflected locally
2023-03-08 12:31:59 -05:00
2c34b0ac03 add neofetch 2023-03-08 12:31:33 -05:00

65
universe/neofetch Normal file
View File

@ -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
#