Files
ufetch/Pkgfile
T
Demonstrandum 1944c6bbbc Updated description
No longer just CRUX sys info but for Linux and *BSDs.
2017-06-03 16:34:28 +01:00

25 lines
535 B
Plaintext

# Description: Tiny system info for Linux distributions and *BSDs.
# URL: https://github.com/jschx/ufetch
# Packager: Joe Schillinger, me at schil dot li
# Maintainer: 6c37 Team, https://github.com/6c37/crux-ports/issues
# Depends on:
name=ufetch
version=git
release=1
source=()
build() {
cd "${PKGMK_SOURCE_DIR}"
if cd "${name}"; then
git fetch -q
git reset --hard origin/master
else
git clone https://github.com/jschx/ufetch "${name}"
cd "${name}"
fi
install -Dm755 ufetch-crux "${PKG}/usr/bin/ufetch"
}