aboutsummaryrefslogtreecommitdiff
path: root/pfetch
diff options
context:
space:
mode:
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
+