blob: 4dbd000afd2d44cf43ea93cc0b8b40d15da6472e (
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
33
34
35
36
37
38
39
|
# Maintainer: Hector Mtz-Seara <hseara # gmail.com>
# Maintainer: Vedran Miletic <vedran AT miletic DOT net>
# Contributor: Samo Turk <samo.turk@gmail.com>
pkgname=rdkit
pkgver=2024_09_3
pkgrel=1
pkgdesc="An open-source toolkit for cheminformatics and machine learning with Python API"
arch=("i686" "x86_64" "armv7h")
url="http://rdkit.org/"
license=('BSD-3-Clause')
depends=(python python-numpy python-cairocffi python-pillow boost-libs sqlite cairo)
makedepends=(cmake catch2 boost eigen)
source=(
"https://github.com/rdkit/rdkit/archive/Release_${pkgver}.tar.gz"
)
sha256sums=(
'5d6a44be526e26ae80bb225df4bb0344e52c502b7f874ee824cfb2dc01adafeb'
)
build() {
cd ${srcdir}/${pkgname}-Release_${pkgver}
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DRDK_INSTALL_INTREE=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DRDK_BUILD_INCHI_SUPPORT=OFF \
-DBoost_NO_BOOST_CMAKE=ON \
-DRDK_BUILD_CAIRO_SUPPORT=ON
make
}
package() {
cd ${srcdir}/${pkgname}-Release_${pkgver}/build
make DESTDIR=${pkgdir} install
}
|