diff options
author | huantian | 2021-08-26 16:38:56 -0700 |
---|---|---|
committer | huantian | 2021-08-26 16:38:56 -0700 |
commit | 63e5e9ceae14848cd5ea9bcd88908701b060e62f (patch) | |
tree | abd5b774e484b11756899733cebd3536ea44d117 | |
parent | adb7f9a950a8528b6842e09b5a942ab617663c7d (diff) | |
download | aur-63e5e9ceae14848cd5ea9bcd88908701b060e62f.tar.gz |
Fix .desktop and icon paths
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = gdlauncher-beta pkgdesc = GDLauncher is simple, yet powerful Minecraft custom launcher with a strong focus on the user experience pkgver = 1.1.15.beta.2 - pkgrel = 1 + pkgrel = 2 url = https://gdevs.io arch = x86_64 license = GPL3 @@ -1,9 +1,10 @@ # Maintainer: David Li <davidtianli@gmail.com> # Based on the PKGBUILD for gdlauncher. pkgname="gdlauncher-beta" +_pkgname="gdlauncher" pkgver="1.1.15.beta.2" _pkgver="1.1.15-beta.2" -pkgrel=1 +pkgrel=2 arch=('x86_64') pkgdesc="GDLauncher is simple, yet powerful Minecraft custom launcher with a strong focus on the user experience" url="https://gdevs.io" @@ -20,7 +21,7 @@ icon_sizes=(48 128 256 1024) prepare() { # Generate .desktop - gendesk --pkgname "GDLauncher" --pkgdesc "${pkgdesc}" --icon ${pkgname} --exec "/usr/bin/${pkgname}" --categories "Application;Game" -n -f + gendesk --pkgname "GDLauncher" --pkgdesc "${pkgdesc}" --icon ${_pkgname} --exec "/usr/bin/${_pkgname}" --categories "Application;Game" -n -f cd "${srcdir}/GDLauncher-${_pkgver}/" @@ -67,6 +68,6 @@ package() { # Install icons for size in "${icon_sizes[@]}"; do install -d -m755 "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/" - convert "${srcdir}/GDLauncher-${_pkgver}/public/icon.png" -resize "${size}x${size}" "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/${pkgname}.png" + convert "${srcdir}/GDLauncher-${_pkgver}/public/icon.png" -resize "${size}x${size}" "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/${_pkgname}.png" done } |