Skip to content

Instantly share code, notes, and snippets.

@samoturk
Created October 30, 2014 12:39
Show Gist options
  • Save samoturk/32e36597f0b4aac51ba0 to your computer and use it in GitHub Desktop.
Save samoturk/32e36597f0b4aac51ba0 to your computer and use it in GitHub Desktop.
RDKit release 2014_09_1 Arch Linux PKGBUILD
# Maintainer: Samo Turk <[email protected]>
pkgname=rdkit
_pkgname=RDKit
pkgver=2014_09_1
pkgrel=1
pkgdesc="RDKit - A collection of cheminformatics and machine-learning software written in C++ and Python."
arch=("i686" "x86_64")
url="http://rdkit.org/"
license=('New BSD License')
depends=( 'bison' 'boost' 'boost-libs' 'cmake' 'flex' 'python2' 'python2-numpy' 'sqlite3' )
source=(https://github.com/rdkit/rdkit/archive/Release_${pkgver}.tar.gz )
md5sums=('901b60a2591c765f3f65aee11fa1c88d')
provides=('rdkit')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-Release_${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DRDK_INSTALL_INTREE=0 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.so \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7/ \
-DPYTHON_EXECUTABLE=/usr/bin/python2
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment