Package Details: qupath-bin 0.5.1-1

Git Clone URL: https://aur.archlinux.org/qupath-bin.git (read-only, click to copy)
Package Base: qupath-bin
Description: Bioimage analysis & digital pathology
Upstream URL: https://qupath.github.io
Licenses: GPL-3.0-or-later
Conflicts: qupath
Provides: qupath
Submitter: hottea
Maintainer: hottea
Last Packager: hottea
Votes: 1
Popularity: 0.000000
First Submitted: 2019-11-02 11:00 (UTC)
Last Updated: 2024-05-12 06:56 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

radioxoma commented on 2024-04-11 17:53 (UTC)

diff --git a/PKGBUILD b/PKGBUILD index d6f3141..10d3f2c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@

pkgname=qupath-bin pkgname=QuPath -pkgver=0.4.3 +pkgver=0.5.1 pkgrel=1 pkgdesc='Bioimage analysis & digital pathology' arch=('x86_64') @@ -20,9 +20,9 @@ optdepends=( provides=(qupath=${pkgver}) conflicts=(qupath) source=( - "${pkgname}-${pkgver}.tar.xz::https://github.com/qupath/qupath/releases/download/v${pkgver///-}/${pkgname}-${pkgver///-}-Linux.tar.xz" + "${pkgname}-${pkgver}.tar.xz::https://github.com/qupath/qupath/releases/download/v${pkgver///-}/${_pkgname}-v${pkgver///-}-Linux.tar.xz" ) -sha512sums=('e8c0c210674bd338c78eb50959ae8d8d1862022f69d1a673682dad9be5d216fe57b05b868d7399f8451016bb12c27f1e693c09d4aca565ace15168843e8897d6') +sha512sums=('4c274f2c3362751b6bdad1ad92b2dd8c3469c4deb038332a679742c55eba269831168a0c3d8a627d751a8fc340a7553979494ab839f15f146dc633a756e62025')

prepare() { echo "Creating desktop file" @@ -34,10 +34,10 @@ prepare() { } package() { install -d "${pkgdir}/opt" "${pkgdir}/usr/bin" "${pkgdir}/usr/share/pixmaps" - cp -a "${srcdir}/${_pkgname}" "${pkgdir}/opt/${_pkgname}" + cp -a "${srcdir}/${_pkgname}-v${pkgver}-Linux/${_pkgname}" "${pkgdir}/opt/${_pkgname}" find "${pkgdir}/opt/${_pkgname}" -type f -name ".png" -exec cp -vf {} "${pkgdir}/usr/share/pixmaps/${_pkgname}.png" \; ln -s "/opt/${_pkgname}/bin/${_pkgname}" "${pkgdir}/usr/bin/qupath" - chmod 0755 "${pkgdir}/opt/QuPath/bin/QuPath" "${pkgdir}/opt/QuPath/bin/QuPath.sh" + chmod 0755 "${pkgdir}/opt/QuPath/bin/QuPath" find "${pkgdir}/opt/${_pkgname}" -name ".so*" -exec chmod 0755 {} \; install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" }