1 # Maintainer : Dan Vratil <progdan@progdansoft.com>
7 pkgdesc="A molecular drawing tool for 2D molecular structures"
9 url="http://molsketch.sf.net"
11 depends=('openbabel' 'qt' 'qt-assistant-compat')
12 source=(http://downloads.sourceforge.net/molsketch/molsketch-${pkgver}${codename}.tar.gz
13 molsketch-0.1.1deuterium_compile.patch)
15 md5sums=('fd52e9a7e860d3bfbc01d8a6164f5d03'
16 '2c31871882cffb8a66cc2e3447f4cf1b')
20 cd ${srcdir}/${pkgname}-${pkgver}${codename}
21 patch -p1 -i ${srcdir}/molsketch-0.1.1deuterium_compile.patch
23 if [ ! -d ${srcdir}/build ]; then
24 mkdir -p ${srcdir}/build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr \
29 ../molsketch-${pkgver}${codename}
36 make DESTDIR=${pkgdir} install