diff options
author | Vishnu V K | 2019-02-22 01:26:01 +0530 |
---|---|---|
committer | Vishnu V K | 2019-02-22 01:26:01 +0530 |
commit | 7433eee4fc1c1d717ec023004236d9e0265b9a6d (patch) | |
tree | 85fc14a05f8a7dd437f23ea3b497d74b28cd3c6d | |
download | aur-7433eee4fc1c1d717ec023004236d9e0265b9a6d.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..17ba15f1b81a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = lammps-beta + pkgdesc = Large-scale Atomic/Molecular Massively Parallel Simulator. + pkgver = 8Feb19 + pkgrel = 1 + url = http://lammps.sandia.gov/ + arch = x86_64 + license = GPL + depends = fftw + depends = openmpi + optdepends = kim-api: support for OpenKIM potentials + conflicts = lammps + source = http://lammps.sandia.gov/tars/lammps-8Feb19.tar.gz + sha512sums = 9c0155f09da140cc2d2f5c887a52a13b494719a8180bdbcb650165ccbec0d84524d66276347279902afb8023c159a1127b1a4defa29d271200cd155a54f7f6c8 + +pkgname = lammps-beta + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3cf2e328b5df --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: physkets <physkets // at // tutanota dot com> +# Contributor: xpt <user.xpt@gmail.com> +_pkgname=lammps +pkgname=${_pkgname}-beta +pkgver=8Feb19 +pkgrel=1 +pkgdesc="Large-scale Atomic/Molecular Massively Parallel Simulator." +url="http://lammps.sandia.gov/" +arch=('x86_64') +license=('GPL') +depends=('fftw' 'openmpi') +optdepends=('kim-api: support for OpenKIM potentials') +conflicts=('lammps') +source=(http://lammps.sandia.gov/tars/${_pkgname}-${pkgver}.tar.gz) +sha512sums=('9c0155f09da140cc2d2f5c887a52a13b494719a8180bdbcb650165ccbec0d84524d66276347279902afb8023c159a1127b1a4defa29d271200cd155a54f7f6c8') +build() { + cd ${_pkgname}-${pkgver} + mkdir -p build; cd build + cmake ../cmake \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_LIBDIR="lib" \ + -DCMAKE_INSTALL_LIBEXECDIR="/usr/lib" #\ + #-DPKG_KIM=yes # KIM package + # Add options for additional packages + #-DPKG_<NAME>=yes + make +} + +package() { + cd ${_pkgname}-${pkgver}/build + make DESTDIR="$pkgdir" install +} |