summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3ab563b602f72735b934916eb0aef5b6ca78fa8 (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
# Maintainer: Eric Waller <ewwaller dot gmail dot com>
pkgname=probability
pkgver=b55e508d94e6
pkgrel=3
pkgdesc="Probability Machine Simulator"
arch=('i686' 'x86_64')
url="https://bitbucket.org/ewaller/probability"

license=('GPL')
groups=(users)
depends=(gtk2)
makedepends=('make' 'gcc')
source=(https://bitbucket.org/ewaller/probability/get/tip.tar.bz2)
md5sums=('a5779da194b96279c45983b5e189d4f6')
build() {
  cd "$srcdir/ewaller-$pkgname-$pkgver"
  #autoreconf
  automake --add-missing && true
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/ewaller-$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
  mkdir "$pkgdir/usr/share"
  mkdir "$pkgdir/usr/share/probability"
  mkdir "$pkgdir/usr/share/probability/data"
  cp src/main.ui "$pkgdir/usr/share/probability"
  cp src/data/probability.png "$pkgdir/usr/share/probability/data"
  cp src/data/runIcon.png "$pkgdir/usr/share/probability/data"
}

# vim:set ts=2 sw=2 et: