mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-11-06 15:50:53 +00:00
Add a Pkgfile for installation with pkgutils.
This commit is contained in:
1 parent
790c2cab4d
commit
cc0f7e30db
1 file changed
+23
@@ -0,0 +1,23 @@
|
|||||||
|
# Description: Tiny system info for CRUX.
|
||||||
|
# URL: https://github.com/jschx/ufetch
|
||||||
|
# Packager: Joe Schillinger, js1 at openmailbox dot org
|
||||||
|
# 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 $PKG/usr/bin/ufetch
|
||||||
|
}
|
||||||
Reference in new issue
Block a user