aboutsummaryrefslogtreecommitdiff
path: root/repos
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-02-22 16:57:13 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-02-22 16:57:13 +0800
commit33155cec91f2551e375505dbda52370a1fbc7efa (patch)
tree319fa92e0ad48d4f733ddfc7d037f96b9730f128 /repos
parent8de952ff74a685d3d04684a400c6f35b80279084 (diff)
downloadalicelinux-33155cec91f2551e375505dbda52370a1fbc7efa.tar.gz
alicelinux-33155cec91f2551e375505dbda52370a1fbc7efa.zip
pfetch: added patch support spm
Diffstat (limited to 'repos')
-rw-r--r--repos/extra/pfetch/.checksum1
-rw-r--r--repos/extra/pfetch/abuild5
-rw-r--r--repos/extra/pfetch/spm-support.patch10
3 files changed, 14 insertions, 2 deletions
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
+