pkgname="neofetch"
pkgver="2.1.0"
pkgdesc="A CLI system information tool written in BASH that supports displaying images."
arch=('any')
homepage="https://github.com/dylanaraps/neofetch"
license=('MIT')
sources=("7.1.0.tar.gz")
urls=("https://github.com/dylanaraps/neofetch/archive/refs/tags/7.1.0.tar.gz")
md5sums=("37ba9026fdd353f66d822fdce16420a8")

src_prepare() {
  tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
}

src_install() {
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}

