avogadro: remove
This commit is contained in:
parent
3f20c39dc9
commit
925e714d52
3 changed files with 0 additions and 56 deletions
|
@ -1 +0,0 @@
|
|||
avogadro
|
|
@ -1,18 +0,0 @@
|
|||
--- libavogadro/src/extensions/symmetry/libmsym/src/orbital.c.orig
|
||||
+++ libavogadro/src/extensions/symmetry/libmsym/src/orbital.c
|
||||
@@ -67,13 +67,13 @@
|
||||
}
|
||||
case 2 : {
|
||||
//o->v = dpolynomial[m+l];
|
||||
- char *d = (signbit(m) == 1 ? "-" : "+");
|
||||
+ char *d = (signbit(m*1.0) == 1 ? "-" : "+");
|
||||
snprintf(o->name, sizeof(o->name), "%dd%d%s",n,abs(m),d);
|
||||
break;
|
||||
}
|
||||
default : {
|
||||
char t = 'f' - 3 + l;
|
||||
- char *d = (signbit(m) == 1 ? "-" : "+");
|
||||
+ char *d = (signbit(m*1.0) == 1 ? "-" : "+");
|
||||
snprintf(o->name, sizeof(o->name), "%d%c%d%s",n,t,abs(m),d);
|
||||
}
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
# Template file for 'avogadro'
|
||||
pkgname=avogadro
|
||||
version=1.2.0
|
||||
revision=8
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_TESTING:BOOL=OFF"
|
||||
hostmakedepends="pkg-config doxygen"
|
||||
makedepends="openbabel-devel qt-devel glew-devel zlib-devel boost-devel
|
||||
python-devel hdf5-devel eigen3.2"
|
||||
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
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|g' CMakeLists.txt
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue