summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a6bb5fa7ba483dc1564eecfb2d6b979d3d431d9 (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
41
42
43
44
45
# Maintainer: Moritz Lipp <mail@mlq.me>
pkgname=fmbt
pkgver=0.42
pkgrel=1
epoch=
pkgdesc="Free Model Based tool"
arch=('x86_64' 'i686')
url="https://01.org/fmbt/"
license=('GPL')
depends=(
  'boost'
  'flex'
  'gnuplot'
  'graphviz'
  'gts'
  'libmagick6'
  'leptonica'
  'libedit'
  'libtool'
  'libxml2'
  'python'
  'python-dbus'
  'python-pexpect'
  'tesseract'
  'tesseract-data-eng'
  )
source=(https://01.org/sites/default/files/downloads/${pkgname}-${pkgver}-1.tar.gz)
md5sums=('6c5c8cae4cc8bd15349dad6a06e7d12c')

prepare() {
  cd "$pkgname-$pkgver-1"
}

build() {
  cd "$pkgname-$pkgver-1"
  export PKG_CONFIG_PATH='/usr/lib/imagemagick6/pkgconfig'
  ./configure --prefix=/usr PYTHON=python2
  make
}

package() {
  cd "$pkgname-$pkgver-1"
  export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages
  make DESTDIR="$pkgdir/" install
}