epkgs-x86-musl/neofetch

66 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-03-08 12:31:33 -05:00
#
# 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
#