aports/testing/pfetch/APKBUILD
2025-10-21 14:58:30 +00:00

28 lines
898 B
Plaintext

# Contributor: Johannes Heimansberg <git@jhe.dedyn.io>
# Contributor: Daniel Hejduk <danielhejduk@disroot.org>
# Maintainer: Daniel Hejduk <danielhejduk@disroot.org>
pkgname=pfetch
pkgver=1.9.4
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="
6eedfa9ae19c0c3a2b20396d996432fa2c3dba5cb5f0e63af27189d4228c582cd7caef73d8342841f699c891927b1569e6c33fc7b0891616e8a759e23a33ba4f pfetch-1.9.4.tar.gz
"