diff options
author | Luis Aranguren | 2020-11-04 15:35:48 +1100 |
---|---|---|
committer | Luis Aranguren | 2020-11-04 15:35:48 +1100 |
commit | 252e70cef15d3b8b1c4ff79a926ed51a4ebbf7bf (patch) | |
tree | 1c31e3cd544da1e99f86be7e07454399e3975018 | |
parent | 2de136f2f3077447d1d3c2493459396dc2aa1059 (diff) | |
download | aur-252e70cef15d3b8b1c4ff79a926ed51a4ebbf7bf.tar.gz |
pkgrel 2, fixed debris ^- on ~, use XDG_CONFIG_HOME unless unset
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = charles pkgdesc = Web debugging proxy application pkgver = 4.5.6 - pkgrel = 1 + pkgrel = 2 url = http://www.charlesproxy.com arch = any license = custom @@ -5,7 +5,7 @@ pkgname=charles pkgver=4.5.6 -pkgrel=1 +pkgrel=2 pkgdesc="Web debugging proxy application" arch=(any) url="http://www.charlesproxy.com" @@ -46,6 +46,8 @@ package() { ${pkgdir}/usr/share/applications/charles-proxy.desktop sed -i 's/Icon=\.\..\+/Icon=charles/' ${pkgdir}/usr/share/applications/charles-proxy.desktop + #Stop ^- from appearing in home directory + sed -i 's/\^-/\/dev\/null/' ${pkgdir}/usr/bin/charles + #Use XDG_CONFIG_HOME and if unset use ~/.config/charles rather than ~/ for .charles.config + sed -i 's/\~\/\.charles\.config\"/$\{XDG\_CONFIG\_HOME\:\-\~\/\.config\/charles\}\"\/\.charles\.config/' ${pkgdir}/usr/bin/charles } - -# vim:set ts=2 sw=2 et: |