diff options
author | lilac | 2024-03-04 04:21:42 +0800 |
---|---|---|
committer | lilac | 2024-03-04 04:21:42 +0800 |
commit | c468b39393315b58918e8be568107f30583a579f (patch) | |
tree | 6514af52b6afdaab055cb30c9d963045ab1a81a7 | |
parent | fb8e4d5f1b4691325784cd1ef33068cac08b8e48 (diff) | |
download | aur-itk-snap-bin.tar.gz |
[lilac] updated to 4.0.2-2
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 10 insertions, 11 deletions
@@ -1,15 +1,16 @@ pkgbase = itk-snap-bin pkgdesc = A software application used to segment structures in 3D medical images pkgver = 4.0.2 - pkgrel = 1 + pkgrel = 2 url = https://www.itksnap.org arch = x86_64 - license = GPL + license = GPL-3.0-or-later makedepends = gendesk + depends = gcc-libs depends = glib2 + depends = glibc provides = itk-snap conflicts = itk-snap - noextract = itk-snap-bin-4.0.2.tar.gz source = itk-snap-bin-4.0.2.tar.gz::https://sourceforge.net/projects/itk-snap/files/itk-snap/4.0.2/itksnap-4.0.2-Linux-gcc64.tar.gz source = itk-snap.png::https://github.com/pyushkevich/itksnap/raw/master/GUI/Qt/Resources/logo_square.png sha512sums = 241051e9a8f5142f8c0b9608d6c0184f61f22e9f39d799870febd6793b44bb76fccc222b6292287736b68437fa7a92d260a33662320e2a14a3acc76d67e30e46 @@ -3,13 +3,16 @@ pkgname=itk-snap-bin _pkgname=itk-snap pkgver=4.0.2 -pkgrel=1 +_date=20230925 +pkgrel=2 pkgdesc="A software application used to segment structures in 3D medical images" arch=('x86_64') url="https://www.itksnap.org" -license=('GPL') +license=('GPL-3.0-or-later') depends=( + gcc-libs glib2 + glibc ) makedepends=( gendesk @@ -20,7 +23,6 @@ source=( "${pkgname}-${pkgver}.tar.gz::https://sourceforge.net/projects/itk-snap/files/itk-snap/${pkgver}/itksnap-${pkgver}-Linux-gcc64.tar.gz" "${_pkgname}.png::https://github.com/pyushkevich/itksnap/raw/master/GUI/Qt/Resources/logo_square.png" ) -noextract=(${pkgname}-${pkgver}.tar.gz) sha512sums=('241051e9a8f5142f8c0b9608d6c0184f61f22e9f39d799870febd6793b44bb76fccc222b6292287736b68437fa7a92d260a33662320e2a14a3acc76d67e30e46' '7d7866a4f28ee645cf4a454488d197a776475d2959d0f9d4d34cf534f34a73ffbb1b92430518f36948b4c25b736990693be07dd345600ed8292e526e2846fca1') @@ -31,16 +33,12 @@ prepare() { --categories "Education;Graphics;Science;DataVisualization;MedicalSoftware;Viewer" \ --icon "${_pkgname}" \ --exec "itksnap" - mkdir -p "${srcdir}/${pkgname}-${pkgver}" - tar xvf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${srcdir}/${pkgname}-${pkgver}" --strip-components 1 } package() { install -d "${pkgdir}/usr" - mv "${srcdir}/${pkgname}-${pkgver}/"* "${pkgdir}/usr" + mv "${srcdir}/itksnap-${pkgver}-${_date}-Linux-gcc64/"* "${pkgdir}/usr" install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" install -Dm644 "${srcdir}/${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png" - # fix permission - find "${pkgdir}" -type d -exec chmod 755 {} \; } # vim:set ts=2 sw=2 et: |