archrelease: copy trunk to extra-x86_64
[arch-packages.git] / cauchy / repos / extra-x86_64 / PKGBUILD
blobc487c744c0d90e3ceb645fab9391804167e7bd28
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 sha256sums=('7a0cd9ef17190c09f271454b0e698e2e82172ce9efb9ef662e4f7134863d9b56')
15 prepare() {
16   mkdir -p build
19 build() {
20   cd build
21   cmake ../cyrille-cauchy-* \
22     -DCMAKE_BUILD_TYPE=Release \
23     -DCMAKE_INSTALL_PREFIX=/usr
24   make
27 package() {
28   cd build
29   make DESTDIR="$pkgdir" install