Skip to content

Instantly share code, notes, and snippets.

@samoturk

samoturk/PKGBUILD

Created Oct 30, 2014
Embed
What would you like to do?
RDKit release 2014_09_1 Arch Linux PKGBUILD
# Maintainer: Samo Turk <samo.turk@gmail.com>
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
You can’t perform that action at this time.