From bb1ece15603782f19436024195cb93cb462aeb7b Mon Sep 17 00:00:00 2001 From: Daniel Hejduk Date: Thu, 12 Sep 2024 15:53:07 +0000 Subject: [PATCH] testing/pfetch: upgrade to 1.4.0 --- testing/pfetch/APKBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/testing/pfetch/APKBUILD b/testing/pfetch/APKBUILD index d5a280e5c3d..775376b1dc2 100644 --- a/testing/pfetch/APKBUILD +++ b/testing/pfetch/APKBUILD @@ -2,19 +2,25 @@ # Contributor: Daniel Hejduk # Maintainer: Daniel Hejduk pkgname=pfetch -pkgver=1.2.0 +pkgver=1.4.0 pkgrel=0 pkgdesc="System information tool written in POSIX sh" url="https://github.com/Un1q32/pfetch" arch="noarch" license="MIT" -options="!check" # There is no test suite +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/" } sha512sums=" -6094f370be998753325a72ff710efd32912ec0fb6c938228c85465cee19bbcd9ed4c06c2e6519de06f630361d811d88d827673222bc1cec360852ff32cf93acc pfetch-1.2.0.tar.gz +0b0093b748c514d93e6954f9af68c4b52fb1558efdd693e58e685133fcfcf474850666890c52450a9e8e78f595c7bc5c9d2a621d6b139ec59dde10adaefdd4e2 pfetch-1.4.0.tar.gz "