From 33155cec91f2551e375505dbda52370a1fbc7efa Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sat, 22 Feb 2025 16:57:13 +0800 Subject: pfetch: added patch support spm --- repos/extra/pfetch/.checksum | 1 + repos/extra/pfetch/abuild | 5 +++-- repos/extra/pfetch/spm-support.patch | 10 ++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 repos/extra/pfetch/spm-support.patch diff --git a/repos/extra/pfetch/.checksum b/repos/extra/pfetch/.checksum index ce7935cd..4d540ccf 100644 --- a/repos/extra/pfetch/.checksum +++ b/repos/extra/pfetch/.checksum @@ -1 +1,2 @@ 4adf968447b194fb90e10c30af376109363c611a107b028440f72319a28d0358 pfetch-0.6.0.tar.gz +58e943cb36c76155fe80cb25a0f38646f3b6a4d44f9df066ea1f8c55fb737868 spm-support.patch diff --git a/repos/extra/pfetch/abuild b/repos/extra/pfetch/abuild index 09faa5ab..33b0e286 100644 --- a/repos/extra/pfetch/abuild +++ b/repos/extra/pfetch/abuild @@ -1,7 +1,8 @@ name=pfetch version=0.6.0 -release=1 -source="https://github.com/dylanaraps/${name}/archive/${version}/${name}-${version}.tar.gz" +release=2 +source="https://github.com/dylanaraps/${name}/archive/${version}/${name}-${version}.tar.gz + spm-support.patch" build() { mkdir -p $PKG/usr/bin diff --git a/repos/extra/pfetch/spm-support.patch b/repos/extra/pfetch/spm-support.patch new file mode 100644 index 00000000..f31c1b15 --- /dev/null +++ b/repos/extra/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