summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17f4fa1a14b3b318540dc142cc8ff9d1ef3d82fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=libbatch
pkgver=2.4.5
pkgrel=1
pkgdesc="Generic platform for Pre and Post-Processing for numerical simulation - libBatch library"
url="http://www.salome-platform.org"
depends=('python')
makedepends=('swig')
arch=('x86_64')
license=('LGPL')
source=("http://files.salome-platform.org/Salome/other/libBatch-${pkgver}.tar.gz")
sha256sums=('a2b5bdf7db95db31ba08b7d07d748141dfadfb537ccc742108e0ceb0a4947cc1')

build() {
  cd "$srcdir/libBatch-${pkgver}"
  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd "${srcdir}/libBatch-${pkgver}"
  make DESTDIR="$pkgdir" install

}