# $Id: PKGBUILD 78228 2010-04-20 03:46:15Z dgriffiths $ #Maintainer: Tobias Powalowski pkgname=chemtool pkgver=1.6.12 pkgrel=3 pkgdesc="A small program for drawing chemical structures" arch=(i686 x86_64) license=('GPL2') url="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html" depends=('gtk2') options=(!libtool) source=(http://ruby.chemie.uni-freiburg.de/~martin/${pkgname}/${pkgname}-${pkgver}.tar.gz chemtool.desktop) build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --mandir=/usr/share/man make || return 1 make DESTDIR=${pkgdir}/ install install -D -m644 gnome/chemtool.png ${pkgdir}/usr/share/pixmaps/chemtool.png install -D -m644 ${srcdir}/chemtool.desktop ${pkgdir}/usr/share/applications/chemtool.desktop } md5sums=('f9e0633cbda09fcfe5a4ea4c56bcd460' '8cbb6f7021bd5aaa6f6a31fc4d95a06e')