diff options
Diffstat (limited to 'repos/extra/pfetch')
| -rw-r--r-- | repos/extra/pfetch/.checksum | 2 | ||||
| -rw-r--r-- | repos/extra/pfetch/.files | 3 | ||||
| -rw-r--r-- | repos/extra/pfetch/abuild | 10 | ||||
| -rw-r--r-- | repos/extra/pfetch/spm-support.patch | 10 |
4 files changed, 25 insertions, 0 deletions
diff --git a/repos/extra/pfetch/.checksum b/repos/extra/pfetch/.checksum new file mode 100644 index 00000000..4d540ccf --- /dev/null +++ b/repos/extra/pfetch/.checksum @@ -0,0 +1,2 @@ +4adf968447b194fb90e10c30af376109363c611a107b028440f72319a28d0358 pfetch-0.6.0.tar.gz +58e943cb36c76155fe80cb25a0f38646f3b6a4d44f9df066ea1f8c55fb737868 spm-support.patch diff --git a/repos/extra/pfetch/.files b/repos/extra/pfetch/.files new file mode 100644 index 00000000..0a49f514 --- /dev/null +++ b/repos/extra/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/repos/extra/pfetch/abuild b/repos/extra/pfetch/abuild new file mode 100644 index 00000000..33b0e286 --- /dev/null +++ b/repos/extra/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/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 + |