diff options
author | Fabrizio Pietrucci | 2021-07-07 18:14:40 +0200 |
---|---|---|
committer | Fabrizio Pietrucci | 2021-07-07 18:14:40 +0200 |
commit | cc3f12c74c37d8ecd1ac2417b2e9169e6a481d7c (patch) | |
tree | 4b268957fd7f1954a063acaf5af255dd9d3beeb4 | |
parent | 1c9ca19c70e1a6f9608d27e3188b9d666018b2d2 (diff) | |
download | aur-cc3f12c74c37d8ecd1ac2417b2e9169e6a481d7c.tar.gz |
Update hotspot to 1.3.0
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 26 insertions, 32 deletions
@@ -1,17 +1,17 @@ pkgbase = hotspot-appimage pkgdesc = The Linux perf GUI for performance analysis. - pkgver = 1.2.0 - pkgrel = 2 + pkgver = 1.3.0 + pkgrel = 1 url = https://github.com/KDAB/hotspot arch = x86_64 license = GPL depends = perf depends = fuse provides = hotspot - noextract = hotspot-appimage-1.2.0.AppImage + conflicts = hotspot + noextract = hotspot-appimage-1.3.0.AppImage options = !strip - source_x86_64 = hotspot-appimage-1.2.0.AppImage::https://github.com/KDAB/hotspot/releases/download/v1.2.0/hotspot-v1.2.0-x86_64.AppImage - md5sums_x86_64 = c2054e28bff59894927d555d1d70beb9 + source = hotspot-appimage-1.3.0.AppImage::https://github.com/KDAB/hotspot/releases/download/v1.3.0/hotspot-v1.3.0-x86_64.AppImage + sha256sums = 7d933e4e8dfe3894c244a74979eb1ad94bda109380398c532fb9ca7ef958c0eb pkgname = hotspot-appimage - @@ -1,49 +1,43 @@ -# Maintainer: Zhiwei Chen <condy0919@gmail.com> +# Mantainer: Fabrizio Pietrucci <bamlessnty5@gmail.com> _pkgname=hotspot pkgname="${_pkgname}"-appimage -pkgver=1.2.0 -pkgrel=2 +pkgver=1.3.0 +pkgrel=1 pkgdesc="The Linux perf GUI for performance analysis." arch=('x86_64') url="https://github.com/KDAB/hotspot" license=('GPL') depends=('perf' 'fuse') -conficts=('hotspot') -provides=('hotspot') +conflicts=(hotspot) +provides=(hotspot) options=(!strip) _appimage="${pkgname}-${pkgver}.AppImage" -source_x86_64=("${_appimage}::https://github.com/KDAB/hotspot/releases/download/v${pkgver}/${_pkgname}-v${pkgver}-x86_64.AppImage" - ) -md5sums_x86_64=('c2054e28bff59894927d555d1d70beb9') + noextract=("${_appimage}") +source=("${_appimage}::https://github.com/KDAB/hotspot/releases/download/v${pkgver}/${_pkgname}-v${pkgver}-x86_64.AppImage") +sha256sums=('7d933e4e8dfe3894c244a74979eb1ad94bda109380398c532fb9ca7ef958c0eb') prepare() { - chmod +x "${_appimage}" - ./"${_appimage}" --appimage-extract + chmod +x "${_appimage}" + ./"${_appimage}" --appimage-extract } build() { - # Fix permissions; .AppImage permissions are 700 for all directories - chmod -R a-x+rX squashfs-root/opt + chmod -R a-x+rX squashfs-root/opt # Fix permissions } package() { - # AppImage - install -Dm755 "${_appimage}" \ - "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage" + # AppImage + install -Dm755 "${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage" - # Desktop file - install -Dm644 "squashfs-root/${_pkgname}.desktop" \ - "${pkgdir}/usr/share/applications/${_pkgname}.desktop" + # Desktop file + install -Dm644 "squashfs-root/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" - # Icon images - cp -a "squashfs-root/opt/share/icons" "${pkgdir}/usr/share/" + # Icon images + cp -a "squashfs-root/opt/share/icons" "${pkgdir}/usr/share/" - # Symlink executable - install -dm755 "${pkgdir}/usr/bin/" - ln -s "/opt/${pkgname}/${pkgname}.AppImage" \ - "${pkgdir}/usr/bin/${_pkgname}" + # Symlink executable + install -dm755 "${pkgdir}/usr/bin/" + ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}" } - -# vim:set ts=2 sw=2 et: |