27 lines
775 B
Bash
27 lines
775 B
Bash
# Template file for 'openbabel'
|
|
pkgname=openbabel
|
|
version=3.1.1
|
|
revision=1
|
|
_ver=${version//./-}
|
|
build_style=cmake
|
|
build_helper=cmake-wxWidgets-gtk3
|
|
hostmakedepends="pkg-config"
|
|
makedepends="cairo-devel libxml2-devel eigen3.2 wxWidgets-gtk3-devel"
|
|
short_desc="Open Source Chemistry Toolbox"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://openbabel.org"
|
|
distfiles="https://github.com/openbabel/openbabel/archive/openbabel-${_ver}.tar.gz"
|
|
checksum=c97023ac6300d26176c97d4ef39957f06e68848d64f1a04b0b284ccff2744f02
|
|
|
|
openbabel-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|