blob: cd8492a7955c2ad46c0a7a5266b16de156609b47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: tugyan <bilaltasdelen at windowslive dot com>
# Contributor: jkdhn <aur@jkdhn.me>
pkgname=weasis-bin
pkgver=4.5.1
pkgrel=1
pkgdesc="Weasis is a free medical DICOM viewer used in healthcare by hospitals, health networks, multicenter research trials, and patients."
arch=('any')
url="https://nroduit.github.io/"
license=('EPL-2.0')
options=('!strip' '!emptydirs')
source=("https://github.com/nroduit/Weasis/releases/download/v${pkgver}/weasis_${pkgver}-1_amd64.deb")
sha512sums=('5f4634501ce8039d5a4f32da164110a54c65f70c75360a15f5f61c2b6c6ebb154fcd681dcf64d775269c39dcfac0625d8cc8509086f44734f826962247a82d3c')
package(){
tar --zstd -xC "${pkgdir}" -f data.tar.zst
mkdir -p "${pkgdir}/usr/bin"
ln -s "/opt/weasis/bin/Weasis" "$pkgdir/usr/bin/weasis"
ln -s "/opt/weasis/bin/Dicomizer" "$pkgdir/usr/bin/dicomizer"
install -Dm 644 ${pkgdir}/opt/weasis/lib/weasis-Weasis.desktop ${pkgdir}/usr/share/applications/Weasis.desktop
install -Dm 644 ${pkgdir}/opt/weasis/lib/weasis-Dicomizer.desktop ${pkgdir}/usr/share/applications/Dicomizer.desktop
}
|