summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ce699cfc4a70f32ed76a1816fafeeb747be9a39 (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
# Maintainer: Tomáš Mládek < tmladek {} inventati dt org >
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=aeskulap
pkgver=0.2.2.beta2
pkgrel=3
pkgdesc="Medical image viewer and DICOM client. Compatible with parallel installation of the package 'dcmtk'."
arch=('i686' 'x86_64')
url="http://www.nongnu.org/aeskulap"
license=('GPL')
depends=('libglademm' 'dconf' 'dcmtk')
makedepends=('intltool' 'perl-xml-parser' 'gconf')
options=('!libtool' '!makeflags')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jenslody/$pkgname/archive/release-${pkgver//./-}.tar.gz")
md5sums=('fe440e2a266a1434cb74f3c90838a596')

#prepare() {
#  cd $pkgname-release-${pkgver//./-}
#  patch -Np1 < "$srcdir"/namespace.diff
#}

build() {
  cd $pkgname-release-${pkgver//./-}
  CXX=g++-6 ./autogen.sh \
    --prefix=/usr \
    --with-gconf-schema-file-dir=/usr/share/gconf/schemas
  make
}

package() {
  cd $pkgname-release-${pkgver//./-}
  make DESTDIR="${pkgdir}" install
}