blob: 88ba4e2e67fefeb5d7ce294ae1c4e565b934b23b (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
pkgname=alizams-git
pkgver=1.9.10.r16.g784b25b
pkgrel=1
pkgdesc="Qt6 DICOM Viewer"
arch=(x86_64 i686 arm armv6h armv7h aarch64)
url="https://www.aliza-dicom-viewer.com/"
license=(GPL3)
depends=(qt6-base qt6-5compat insight-toolkit)
makedepends=(git cmake eigen qt6-svg)
provides=(alizams)
conflicts=(alizams)
source=("git+https://github.com/AlizaMedicalImaging/AlizaMS.git")
sha256sums=('SKIP')
pkgver() {
cd AlizaMS
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd AlizaMS
[[ -d build ]] || mkdir build
}
build() {
cd AlizaMS/build
cmake .. -Wno-dev \
-DCMAKE_BUILD_TYPE=None \
-DALIZA_QT_VERSION:STRING=6 \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd AlizaMS/build
make DESTDIR="$pkgdir/" install
}
|