summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorpostblue2016-11-28 02:46:44 +0100
committerpostblue2016-11-28 02:46:44 +0100
commit28054c0e39c4364433ea0e78a961b6d1f276d057 (patch)
treea84939adf75f1d96c25178e45c8aced7b5a80bc4 /PKGBUILD
parenta718a479620095c358b3cf8e44e310a517022949 (diff)
downloadaur-28054c0e39c4364433ea0e78a961b6d1f276d057.tar.gz
Fix appname
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bbf034a37de8..95e8c8ffe4cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"