upgpkg: ocaml-integers 0.5.0-1
[arch-packages.git] / cauchy / trunk / PKGBUILD
blob48e5e0ad9f912b0818de86c5d18e1406cef93111
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=cauchy
4 pkgver=0.9.0
5 pkgrel=3
6 arch=(x86_64)
7 pkgdesc="A library for transforming Matlab/Octave files to C++ (with Eigen) and Matlab"
8 url="https://bitbucket.org/cyrille/cauchy"
9 license=(GPL2)
10 depends=(gcc-libs)
11 makedepends=(cmake eigen)
12 #source=($pkgname-$pkgver.tar.bz2::"https://bitbucket.org/cyrille/cauchy/get/v$pkgver.tar.bz2")
13 source=(https://sources.archlinux.org/other/packages/cauchy/$pkgname-$pkgver.tar.bz2)
14 sha256sums=('7a0cd9ef17190c09f271454b0e698e2e82172ce9efb9ef662e4f7134863d9b56')
16 prepare() {
17   mkdir -p build
20 build() {
21   cd build
22   cmake ../cyrille-cauchy-* \
23     -DCMAKE_BUILD_TYPE=Release \
24     -DCMAKE_INSTALL_PREFIX=/usr
25   make
28 package() {
29   cd build
30   make DESTDIR="$pkgdir" install