LFS-PKGBUILDs/app-misc/neofetch-7.1.1.PKGBUILD

20 lines
579 B
Plaintext

pkgname="neofetch"
pkgver="7.1.1"
pkgdesc="A CLI system information tool written in BASH that supports displaying images."
arch=('any')
homepage="https://gitea.phywyj.dynv6.net/wyj/neofetch"
license=('MIT')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://gitea.phywyj.dynv6.net/wyj/neofetch/archive/${pkgver}.tar.gz")
md5sums=("421b7dc986ffb23bd8b0d74bcf20325b")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_install() {
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}