summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b5b5c77e678ccfd305d003f13df02f02af9d158 (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: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Jonas Witschel <diabonas@archlinux.org>

pkgname=amide-git
pkgver=1.0.6.r15.geaa6abe
pkgrel=1
pkgdesc='Medical imaging data examiner'
arch=('x86_64')
url='https://github.com/ferdymercury/amide'
license=('GPL')
depends=('dcmtk' 'gsl' 'libgnomecanvas' 'volpack' 'xmedcon-gtk2')
makedepends=('git' 'intltool' 'libxml2')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=(git+$url.git)
sha512sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe --tags | cut -c2- | sed 's+-+.r+'|tr - .
}

build() {
  cd "${pkgname%-git}"/"${pkgname%-git}"-current
  touch gnome-doc-utils.make
  autoreconf -fi
  CFLAGS+=" -fcommon" ./configure \
	 --prefix=/usr \
	 --disable-ffmpeg \
	 --disable-gconf \
	 --disable-gnome-vfs \
	 --disable-gtk-doc \
	 --disable-gnome-doc
  make --jobs=1
}

package() {
  cd "${pkgname%-git}"/"${pkgname%-git}"-current
  make DESTDIR="$pkgdir" install
}