summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2522e98c0556305a342b08540c601934842b9672 (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
# Maintainer: Ashish Singh <ashish.singh1@live.in>
pkgname=salome-bootstrap
pkgver=9.13.0
pkgrel=1
pkgdesc="Required for SALOME KERNEL"
url="https://www.salome-platform.org"
license=('LGPL2+')
depends=('salome-configuration' 'cppunit' 'python' 'swig')
makedepends=('cmake')
arch=('any')
source=("git+https://github.com/SalomePlatform/salome_bootstrap.git")
md5sums=('SKIP')

build () {
  cd "$srcdir/salome_bootstrap"
  [[ -d build ]] && rm -r build
  mkdir build && cd build
  cmake -DCMAKE_BUILD_TYPE=Release -DCONFIGURATION_ROOT_DIR=/usr/share/salome/configuration -Wno-dev -DCMAKE_INSTALL_PREFIX=/opt/salome ../
  make
}

package() {
  cd "$srcdir/salome_bootstrap/build"
  make prefix=/opt/salome DESTDIR="$pkgdir" install
}