# Maintainer: Ohio2 # (forked from)Maintainer: ThatOneCalculator (Kainoa Kanter) pkgname="nerdfetch-ohio2" pkgver=r183.607d660 pkgrel=1 pkgdesc="A POSIX fetch using NerdFonts" arch=('any') optdepends=('bc: memory percent') url="https://github.com/Ohio2/NerdFetch-Ohio2" license=('GPL') makedepends=('git') source=("git+https://github.com/Ohio2/NerdFetch") noextract=() md5sums=('SKIP') pkgver() { cd NerdFetch printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd NerdFetch } package() { install -Dm755 "$srcdir"/NerdFetch/"Arch and Arch-based"/nerdfetch "$pkgdir"/usr/bin/nerdfetch-ohio2 cp doc /usr/local/man/man1/nerdfetch-ohio2.1 gzip /usr/local/man/man1/nerdfetch-ohio2.1 }