2016-08-30 05:24:00 +00:00
|
|
|
# Template file for 'avogadro'
|
|
|
|
pkgname=avogadro
|
|
|
|
version=1.2.0
|
2016-11-15 13:28:46 +00:00
|
|
|
revision=2
|
2016-08-30 05:24:00 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DENABLE_TESTING:BOOL=OFF"
|
2016-11-15 13:28:46 +00:00
|
|
|
hostmakedepends="eigen2 pkg-config doxygen"
|
2016-08-30 05:24:00 +00:00
|
|
|
makedepends="openbabel-devel qt-devel glew-devel zlib-devel boost-devel python-devel hdf5-devel"
|
2016-11-15 13:28:46 +00:00
|
|
|
depends="eigen2"
|
2016-08-30 05:24:00 +00:00
|
|
|
short_desc="An intuitive molecular editor and visualization tool"
|
|
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://avogadro.cc"
|
|
|
|
distfiles="https://github.com/cryos/avogadro/archive/${version}.tar.gz"
|
|
|
|
checksum=6453e36e8ae3e61655cbe062df6d6fa6b2409122c7b5abc0a6f1d410a181640b
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/features
|
|
|
|
}
|
|
|
|
|
|
|
|
avogadro-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/avogadro/*.cmake
|
|
|
|
subver=${version%.*}
|
|
|
|
vmove usr/lib/avogadro/${subver%.*}_${subver#*.}/*cmake
|
|
|
|
}
|
|
|
|
}
|