mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 06:17:10 +02:00
27 lines
898 B
Text
27 lines
898 B
Text
# Contributor: Johannes Heimansberg <git@jhe.dedyn.io>
|
|
# Contributor: Daniel Hejduk <danielhejduk@disroot.org>
|
|
# Maintainer: Daniel Hejduk <danielhejduk@disroot.org>
|
|
pkgname=pfetch
|
|
pkgver=1.9.0
|
|
pkgrel=0
|
|
pkgdesc="System information tool written in POSIX sh"
|
|
url="https://github.com/Un1q32/pfetch"
|
|
arch="noarch"
|
|
license="MIT"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/Un1q32/pfetch/archive/$pkgver.tar.gz"
|
|
|
|
check() {
|
|
./pfetch # Run the program
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 pfetch "$pkgdir"/usr/bin/pfetch
|
|
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
|
|
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
|
install -Dm644 pfetch.1 -t "$pkgdir/usr/share/man/man1/"
|
|
}
|
|
|
|
sha512sums="
|
|
0a0efd26589d90115b2c940b572abc41e04714974a55e1d1e5df9a2be405c13e6203eef43a74e9173d972860bf6b7bd02878f5ecfcf3abd3ec6efa76838d4b7e pfetch-1.9.0.tar.gz
|
|
"
|