summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d263e52967a23e8a7fce70dfc73afebcaaf1f6fb (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.1.gce82f85
pkgrel=2
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' 'dcmtk363')
makedepends=('git' 'intltool' 'perl-xml-parser' 'gconf')
options=('!libtool' '!makeflags')
source=("git+https://github.com/jenslody/$pkgname.git#commit=ce82f856868f7a3217fff714d0de5ee8b6cf3aa2") 
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | cut -c9- | tr - .
}

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

package() {
  cd $pkgname
  make DESTDIR="${pkgdir}" install
}