update: rename to Gentoo style
This commit is contained in:
19
app-misc/neofetch-7.1.0.PKGBUILD.old
Normal file
19
app-misc/neofetch-7.1.0.PKGBUILD.old
Normal file
@@ -0,0 +1,19 @@
|
||||
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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user