diff options
author | bjorkalx | 2021-04-02 19:41:00 +0200 |
---|---|---|
committer | bjorkalx | 2021-04-02 19:41:00 +0200 |
commit | b0f396c3d2763dd672ab186635e92c594f0d658b (patch) | |
tree | 5dfbe96935338a51c937caaeb2732c16b81db649 | |
parent | 6738dc896a230b39686de0d7173ef4c01154ade0 (diff) | |
download | aur-b0f396c3d2763dd672ab186635e92c594f0d658b.tar.gz |
Fixed the .desktop patch
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | eSPi.desktop.patch | 12 |
2 files changed, 18 insertions, 2 deletions
@@ -11,9 +11,11 @@ depends=('fuse3') provides=('espi') conflicts=('espi') source=("https://low-hiss.com/eSPi-${pkgver//_/-}.AppImage" - "espi.sh") + "espi.sh" + "eSPi.desktop.patch") sha256sums=('ed4c075c5787cab51eb7f4f0581f6e6fed05991739f6f647c750f043dd625c46' - '8a93b9a1e8c115b342f346497e3b0b192dcb51262d63eeafbd6adcc51a1222ca') + '8a93b9a1e8c115b342f346497e3b0b192dcb51262d63eeafbd6adcc51a1222ca' + '26df8d45e662bde820c114a6e50c5ead169f65a6868ece246c13d36da519673d') options=(!strip) _filename=./eSPi-${pkgver//_/-}.AppImage @@ -22,6 +24,8 @@ prepare() { cd "${srcdir}" chmod +x ${_filename} ${_filename} --appimage-extract + cd "${srcdir}/squashfs-root/" + patch --strip=1 < ../eSPi.desktop.patch } diff --git a/eSPi.desktop.patch b/eSPi.desktop.patch new file mode 100644 index 000000000000..9b9412be208e --- /dev/null +++ b/eSPi.desktop.patch @@ -0,0 +1,12 @@ +diff --unified --recursive --text squashfs-root/eSPi.desktop squashfs-root.new/eSPi.desktop +--- squashfs-root/eSPi.desktop 2021-04-02 19:18:34.866059684 +0200 ++++ squashfs-root/eSPi.desktop 2021-04-02 19:19:41.295066083 +0200 +@@ -4,7 +4,7 @@ + 2=P + 3=i + Name=eSPi +-Exec=AppRun %U ++Exec=/usr/bin/espi %F + Terminal=false + Type=Application + Icon=eSPi |