summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMillian Poquet2020-02-24 19:25:16 +0100
committerMillian Poquet2020-02-24 19:25:16 +0100
commit6dd429cad84cc3f2c38eaa28b010a8939b4f062e (patch)
treedf9518da60ea82c4f46d9776ae5a76dc0fe5f426
parent9a7d4e569f931f9b60b545e7ae91209c53e551ca (diff)
downloadaur-6dd429cad84cc3f2c38eaa28b010a8939b4f062e.tar.gz
fix install path, add missing dep
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD26
2 files changed, 13 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4ce70d28c08..36f11800bd9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = simgrid
pkgdesc = A scientific instrument to study large-scale distributed systems
pkgver = 3.25
- pkgrel = 1
+ pkgrel = 2
url = https://simgrid.org/
arch = i686
arch = x86_64
license = LGPL
makedepends = cmake
+ makedepends = make
depends = boost
source = https://framagit.org/simgrid/simgrid/-/archive/v3.25/simgrid-v3.25.tar.gz
md5sums = b1e32d5511604fb17cc919fd1de379ea
diff --git a/PKGBUILD b/PKGBUILD
index ac8af6d1745..39321b73697 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,24 @@
-#
-# SimGrid: Framework for the simulation of distributed applications
-#
-
# Maintainer: Millian Poquet <millian.poquet@gmail.com>
pkgname=simgrid
pkgver=3.25
-pkgrel=1
+pkgrel=2
pkgdesc='A scientific instrument to study the behavior of large-scale distributed systems such as Grids, Clouds, HPC or P2P systems.'
arch=('i686' 'x86_64')
url='https://simgrid.org/'
license=('LGPL')
source=('https://framagit.org/simgrid/simgrid/-/archive/v3.25/simgrid-v3.25.tar.gz')
depends=('boost')
-makedepends=('cmake')
+makedepends=('cmake' 'make')
md5sums=('b1e32d5511604fb17cc919fd1de379ea')
-pkgver() {
- echo 3.25
-}
-
package() {
- mkdir -p $pkgdir/opt/simgrid
- cd $srcdir/simgrid-v3.25/
- cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/opt/simgrid .
- make
- make install
+ cd "${srcdir}/${pkgname}-v${pkgver}"
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -Denable_compile_optimizations=OFF \
+ -Denable_documentation=OFF \
+ -Denable_lto=OFF \
+ -Denable_smpi=ON
+ make -j $(nproc)
+ make DESTDIR="${pkgdir}" install
}