mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-09-30 13:32:32 +07:00
24 lines
442 B
Plaintext
24 lines
442 B
Plaintext
# Description: Tiny system info for CRUX.
|
|
# URL: https://github.com/jschx/ufetch
|
|
# Maintainer: Joe Schillinger, me at schil dot li
|
|
# 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"
|
|
}
|