diff options
author | postblue | 2016-11-28 02:46:44 +0100 |
---|---|---|
committer | postblue | 2016-11-28 02:46:44 +0100 |
commit | 28054c0e39c4364433ea0e78a961b6d1f276d057 (patch) | |
tree | a84939adf75f1d96c25178e45c8aced7b5a80bc4 /PKGBUILD | |
parent | a718a479620095c358b3cf8e44e310a517022949 (diff) | |
download | aur-28054c0e39c4364433ea0e78a961b6d1f276d057.tar.gz |
Fix appname
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Maintainer: Guillaume Hayot <postblue@postblue.info> pkgname=ghost-desktop pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="Ghost Desktop is a beautiful desktop application that allows you to easily manage multiple Ghost blogs and work without distractions." arch=('x86_64' 'i686') url="https://github.com/TryGhost/Ghost-Desktop" @@ -31,7 +31,8 @@ package() { # Change paths to match pkgname mv "${pkgdir}/usr/share/Ghost" "${pkgdir}/usr/share/${pkgname}" mv "${pkgdir}/usr/share/applications/Ghost.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" - sed -i "s/=Ghost/=${pkgname}/" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + sed -i "s/Exec=Ghost/Exec=${pkgname}/" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + sed -i "s/Icon=Ghost/Icon=${pkgname}/" "${pkgdir}/usr/share/applications/${pkgname}.desktop" mv "${pkgdir}/usr/share/doc/Ghost" "${pkgdir}/usr/share/doc/${pkgname}" mv "${pkgdir}/usr/share/pixmaps/Ghost.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" |