diff options
author | Oscar Morante | 2019-10-22 14:36:17 +0200 |
---|---|---|
committer | Oscar Morante | 2019-10-22 14:36:17 +0200 |
commit | 5f1198cc843fcc6cb6f28c4356217390f72beeca (patch) | |
tree | 31d9a65e21c8f6ca6200d1f593b574c5fc09aa2a | |
parent | b2ddd4a6cfbbb7010947996a533024b3277d0f7e (diff) | |
download | aur-5f1198cc843fcc6cb6f28c4356217390f72beeca.tar.gz |
fix AppImage extraction issues
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = gravit-designer-bin pkgdesc = A cross-platform, free design tool for the 21st century empowering everyone to design pkgver = 2019_2.7 - pkgrel = 1 + pkgrel = 2 url = https://designer.io/ arch = x86_64 license = custom:freeware @@ -3,7 +3,7 @@ pkgname=gravit-designer-bin pkgver=2019_2.7 -pkgrel=1 +pkgrel=2 pkgdesc="A cross-platform, free design tool for the 21st century empowering everyone to design" arch=('x86_64') url="https://designer.io/" @@ -22,7 +22,7 @@ md5sums=('bc3aedae9a62a790de2b15860f8af9fd' '021ccafc0993d3c34265ae59048d4bf2') PKGEXT='.pkg.tar' -package() { +build() { # Extract AppImage chmod +x GravitDesigner.AppImage ./GravitDesigner.AppImage --appimage-extract @@ -33,7 +33,9 @@ package() { sed -i "/^MimeType=/cMimeType=x-scheme-handler/designer;application/gravit-designer-document" "${_df}" sed -i "s/^X-AppImage-Version=/Version=/" "${_df}" sed -i "/^X-AppImage/d" "${_df}" +} +package() { # Install install -d "${pkgdir}/usr/share" install -D ${_df} "${pkgdir}/usr/share/applications/gravitdesigner.desktop" |