aboutsummaryrefslogtreecommitdiff
path: root/pfetch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /pfetch
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'pfetch')
-rw-r--r--pfetch/.checksum2
-rw-r--r--pfetch/.files3
-rw-r--r--pfetch/abuild10
-rw-r--r--pfetch/spm-support.patch10
4 files changed, 25 insertions, 0 deletions
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
+