updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / molsketch / PKGBUILD
blob918c62d9af23e64472038036f60df333eafa4df9
1 # Maintainer : Dan Vratil <progdan@progdansoft.com>
3 pkgname=molsketch
4 pkgver=0.1.1
5 codename=deuterium
6 pkgrel=2
7 pkgdesc="A molecular drawing tool for 2D molecular structures" 
8 arch=('i686' 'x86_64')
9 url="http://molsketch.sf.net" 
10 license=('GPLv2') 
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')
18 build()
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
25         fi
26         cd ${srcdir}/build
27   
28         cmake -DCMAKE_INSTALL_PREFIX=/usr \
29                 ../molsketch-${pkgver}${codename}
30         make
33 package()
35         cd ${srcdir}/build
36         make DESTDIR=${pkgdir} install