diff options
author | Erich Eckner <git@eckner.net> | 2018-03-06 21:31:04 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-06 21:31:04 +0100 |
commit | dc142cb53910ec84a2f9c3dc626e89a7a953b4b2 (patch) | |
tree | 29b2972e0085e46afb344b4f595ced8d518640c2 /avogadroapp | |
parent | 3036fe3c6f7f69aa351c1a803d022654646eaaca (diff) | |
download | archlinuxewe-dc142cb53910ec84a2f9c3dc626e89a7a953b4b2.tar.xz |
avogadroapp new
Diffstat (limited to 'avogadroapp')
-rw-r--r-- | avogadroapp/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/avogadroapp/PKGBUILD b/avogadroapp/PKGBUILD new file mode 100644 index 000000000..e97a293de --- /dev/null +++ b/avogadroapp/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: James Barnett < james at wbarnett dot us > +# Maintainer: Erich Eckner <arch at eckner dot net> + +pkgname=avogadroapp +pkgver=1.90.0 +pkgrel=1 +pkgdesc="An advanced molecular editor designed for cross-platform use in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas." +arch=('i686' 'x86_64') +url="http://www.openchemistry.org/projects/avogadro2/" +license=('GPL2') +depends=('avogadrolibs' 'hdf5') +optdepends=('openbabel: Open Babel plugin actions') +makedepends=('cmake' 'eigen') +source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenChemistry/$pkgname/archive/$pkgver.tar.gz") +sha512sums=('7842cedb642f2a153f80b1b10985f80067068b6fc3aca9d872002b3826b3b074390a7186e0857cd65df4747b34e9b359cdae19aad494ddd6bd31490a1dc3f667') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake "${srcdir}/${pkgname}-${pkgver}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |