diff options
author | yjun | 2021-08-29 14:15:28 +0800 |
---|---|---|
committer | yjun | 2021-08-29 14:15:28 +0800 |
commit | be4f671c99a28c0c53cb784c24215d95672209ca (patch) | |
tree | 5408abd869e78c63ac1fabeec845f18c84208d0d | |
parent | 6bc413aa1949ab7bcd006a4e0a97795b3c6f59a3 (diff) | |
download | aur-be4f671c99a28c0c53cb784c24215d95672209ca.tar.gz |
fix: wrong path in desktop entry
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = apipost-bin pkgdesc = An API debugging and management tool that supports team collaboration and can generate documents directly. pkgver = 5.4.2 - pkgrel = 1 + pkgrel = 2 url = https://www.apipost.cn/ arch = x86_64 license = custom @@ -3,7 +3,7 @@ pkgname=apipost-bin _pkgname=${pkgname%-bin} pkgver=5.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="An API debugging and management tool that supports team collaboration and can generate documents directly." arch=('x86_64') url="https://www.apipost.cn/" @@ -22,5 +22,8 @@ package() { install -dm755 ${pkgdir}/usr/bin/ ln -sf /opt/${_pkgname}/${_pkgname} ${pkgdir}/usr/bin/${_pkgname} + + # desktop entry + sed -i "s|/opt/ApiPost|/opt/${_pkgname}|g" ${pkgdir}/usr/share/applications/${_pkgname}.desktop } # vim: set sw=2 ts=2 et: |