diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ # Maintainer: Guillaume Hayot <ghayot@postblue.info> pkgname=ghost-desktop -pkgver=1.5.1 +pkgver=1.5.2 pkgrel=1 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') @@ -9,7 +9,7 @@ license=('MIT') depends=('gtk2' 'libgnome-keyring' 'gnome-keyring' 'desktop-file-utils' 'python2' 'gconf' 'nodejs' 'libnotify' 'libxtst' 'nss' 'alsa-lib' 'libxss') source=(https://github.com/TryGhost/Ghost-Desktop/releases/download/v${pkgver}/${pkgname}-${pkgver}-debian.deb) install=${pkgname}.install -md5sums=('4181973236f7a73978078ab602e06bde') +md5sums=('90ad4039510cc42734ee31436639b000') package() { msg2 "Extracting data.tar.xz..." bsdtar -xf data.tar.xz -C "${pkgdir}/" @@ -25,8 +25,8 @@ package() { msg2 "Changing paths and names to match package name..." 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/Name=ghost-desktop/Name=Ghost Desktop/" "${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" mv "${pkgdir}/usr/lib/Ghost" "${pkgdir}/usr/lib/${pkgname}" |