New package: avogadro-1.2.0

Closes #4676 with thanks to @diogoleal
This commit is contained in:
Toyam Cox 2016-08-30 01:24:00 -04:00
parent e0c97f15cf
commit b959debca2
3 changed files with 37 additions and 0 deletions

View File

@ -2609,4 +2609,6 @@ libMonoSupportW.so mono-4.0.1.44_2
libxcb-xrm.so.0 xcb-util-xrm-1.0_1
libinchi.so.0 openbabel-2.3.2_1
libopenbabel.so.4 openbabel-2.3.2_1
libavogadro.so.1 avogadro-1.2.0_1
libavogadro_OpenQube.so.0 avogadro-1.2.0_1
libcourier-unicode.so.3 courier-unicode-1.4_1

1
srcpkgs/avogadro-devel Symbolic link
View File

@ -0,0 +1 @@
avogadro

34
srcpkgs/avogadro/template Normal file
View File

@ -0,0 +1,34 @@
# Template file for 'avogadro'
pkgname=avogadro
version=1.2.0
revision=1
build_style=cmake
configure_args="-DENABLE_TESTING:BOOL=OFF"
hostmakedepends="eigen pkg-config doxygen"
makedepends="openbabel-devel qt-devel glew-devel zlib-devel boost-devel python-devel hdf5-devel"
depends="eigen"
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
}
}