blob: be9ada65ca59bd8f6a03170b308d05812f0eb38e (
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
26
27
28
29
30
31
32
|
# Contributor: James Barnett < james at wbarnett dot us >
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=avogadroapp
pkgver=1.93.0
pkgrel=2
pkgdesc="An advanced molecular editor designed for cross-platform use in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas."
arch=('i686' 'pentium4' 'x86_64')
url="http://www.openchemistry.org/projects/avogadro2/"
license=('GPL2')
depends=('avogadrolibs' 'hdf5' 'vtk' 'qt5-x11extras')
optdepends=('openbabel: Open Babel plugin actions')
makedepends=('cmake' 'eigen')
source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenChemistry/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('8e4e15b6c2d1935f8c585c83761b28a6397bc1dc22cd5f66464d59dd25327b1cffec809af492586be4b56793448f94f9375c16e8a4c4969f7b8f2591049cc5fc')
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
}
|