diff options
author | Gavin Ridley | 2020-11-04 04:17:55 +0000 |
---|---|---|
committer | Gavin Ridley | 2020-11-04 04:17:55 +0000 |
commit | 0745a4699d7f6c18c419c39fab9bdd9b28226507 (patch) | |
tree | d5cdca5d9029bff8ac613add335d596b14f73370 | |
parent | cec11d2cd856e364c40cbb886f7d8300ca39ae16 (diff) | |
download | aur-0745a4699d7f6c18c419c39fab9bdd9b28226507.tar.gz |
dont fail if build dir exists, conflict w/ fmt and pugixml
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = openmc-git pkgdesc = Community-developed Monte Carlo neutron and photon transport simulation code - pkgver = r11186.8bd8af53d + pkgver = r11702.e91a6aac1 pkgrel = 1 url = https://github.com/openmc-dev/openmc arch = any @@ -19,6 +19,8 @@ pkgbase = openmc-git provides = openmc provides = libopenmc.so conflicts = openmc + conflicts = pugixml + conflicts = fmt source = openmc-git::git+https://github.com/openmc-dev/openmc.git sha1sums = SKIP @@ -1,6 +1,6 @@ # Maintainer: Gavin Ridley <gavin.keith.ridley@gmail.com> pkgname=openmc-git -pkgver=r11186.8bd8af53d +pkgver=r11702.e91a6aac1 pkgrel=1 pkgdesc="Community-developed Monte Carlo neutron and photon transport simulation code" arch=('any') @@ -10,7 +10,7 @@ makedepends=('cmake' 'git' 'python-setuptools') depends=('hdf5-cpp-fortran' 'python-numpy' 'python-matplotlib' 'python-scipy' 'python-pandas' 'python-h5py' 'python-uncertainties' 'python-lxml') provides=("${pkgname%-git}" "libopenmc.so") -conflicts=("${pkgname%-git}") +conflicts=("${pkgname%-git}" 'pugixml' 'fmt') source=("${pkgname}::git+${url}.git") noextract=() sha1sums=('SKIP') @@ -25,10 +25,10 @@ build() { cd "${srcdir}/${pkgname}" git submodule update --init --recursive python setup.py build - mkdir build + mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. - make + make } package() { cd "${srcdir}/${pkgname}/build" |