From 93a354611e38a6949add5c2e5ccc93ef79b9755f Mon Sep 17 00:00:00 2001 From: Woodpecker CI Date: Tue, 3 Jun 2025 14:32:36 +0000 Subject: Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI] --- pfetch/.checksum | 2 ++ pfetch/.files | 3 +++ pfetch/abuild | 10 ++++++++++ pfetch/spm-support.patch | 10 ++++++++++ 4 files changed, 25 insertions(+) create mode 100644 pfetch/.checksum create mode 100644 pfetch/.files create mode 100644 pfetch/abuild create mode 100644 pfetch/spm-support.patch (limited to 'pfetch') diff --git a/pfetch/.checksum b/pfetch/.checksum new file mode 100644 index 00000000..4d540ccf --- /dev/null +++ b/pfetch/.checksum @@ -0,0 +1,2 @@ +4adf968447b194fb90e10c30af376109363c611a107b028440f72319a28d0358 pfetch-0.6.0.tar.gz +58e943cb36c76155fe80cb25a0f38646f3b6a4d44f9df066ea1f8c55fb737868 spm-support.patch diff --git a/pfetch/.files b/pfetch/.files new file mode 100644 index 00000000..0a49f514 --- /dev/null +++ b/pfetch/.files @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pfetch diff --git a/pfetch/abuild b/pfetch/abuild new file mode 100644 index 00000000..33b0e286 --- /dev/null +++ b/pfetch/abuild @@ -0,0 +1,10 @@ +name=pfetch +version=0.6.0 +release=2 +source="https://github.com/dylanaraps/${name}/archive/${version}/${name}-${version}.tar.gz + spm-support.patch" + +build() { + mkdir -p $PKG/usr/bin + install -m755 pfetch $PKG/usr/bin/pfetch +} diff --git a/pfetch/spm-support.patch b/pfetch/spm-support.patch new file mode 100644 index 00000000..f31c1b15 --- /dev/null +++ b/pfetch/spm-support.patch @@ -0,0 +1,10 @@ +--- pfetch-0.6.0.orig/pfetch ++++ pfetch-0.6.0/pfetch +@@ -470,6 +470,7 @@ + has rpm && rpm -qa + has xbps-query && xbps-query -l + has apk && apk info ++ has spm && spm -a + has guix && guix package --list-installed + has opkg && opkg list-installed + -- cgit v1.2.3