diff options
author | William Gathoye | 2021-12-07 11:26:19 +0100 |
---|---|---|
committer | William Gathoye | 2021-12-07 11:26:19 +0100 |
commit | d8356d129ff6bcd2324ca273fb9ea4d410804bd0 (patch) | |
tree | 5ba8aac8461f4b10b5f040982835510ea92730b5 | |
download | aur-d8356d129ff6bcd2324ca273fb9ea4d410804bd0.tar.gz |
Initial commit - Version 2.7
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..32cdb5f22875 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = orthanc-plugin-web-viewer + pkgdesc = Web viewer of medical images plugin for Orthanc + pkgver = 2.7 + pkgrel = 1 + url = https://book.orthanc-server.com/plugins/webviewer.html + arch = x86_64 + arch = i686 + license = GPL3 + makedepends = boost + makedepends = cmake + makedepends = gtest + makedepends = make + depends = orthanc + source = https://www.orthanc-server.com/downloads/get.php?path=/plugin-webviewer/OrthancWebViewer-2.7.tar.gz + sha512sums = 86b08652a0216e802f2ccc93f2298b42437d3dfcf9d260d7da6920119901a61b4065fe29451a3660d64ec84a8fcd9eb18269d7b41fe1ce365b50892ea485aae2 + +pkgname = orthanc-plugin-web-viewer diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c98ead01973d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: William Gathoye <william + aur at gathoye dot be> + +pkgname=orthanc-plugin-web-viewer +pkgver=2.7 +pkgrel=1 +pkgdesc='Web viewer of medical images plugin for Orthanc' +arch=('x86_64' 'i686') +url='https://book.orthanc-server.com/plugins/webviewer.html' +license=('GPL3') + +depends=( + 'orthanc' +) +makedepends=( + 'boost' 'cmake' 'gtest' 'make' +) +source=( + "https://www.orthanc-server.com/downloads/get.php?path=/plugin-webviewer/OrthancWebViewer-${pkgver}.tar.gz" +) +sha512sums=( + '86b08652a0216e802f2ccc93f2298b42437d3dfcf9d260d7da6920119901a61b4065fe29451a3660d64ec84a8fcd9eb18269d7b41fe1ce365b50892ea485aae2' +) + +build() { + cd OrthancWebViewer-"${pkgver}"/ + cmake \ + -DSTATIC_BUILD=OFF \ + -DALLOW_DOWNLOADS=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -B"${srcdir}"/build + + cd "${srcdir}"/build + make +} + +check() { + cd "${srcdir}"/build + ./UnitTests +} + +package() { + cd "${srcdir}"/build + cmake --build "${srcdir}"/build --target install -- DESTDIR="${pkgdir}" +} |