Compare commits
2 Commits
15a4db2582
...
d17ed6c094
Author | SHA1 | Date | |
---|---|---|---|
d17ed6c094 | |||
2c34b0ac03 |
65
universe/neofetch
Normal file
65
universe/neofetch
Normal 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
|
||||
#
|
Loading…
Reference in New Issue
Block a user