# $Id: PKGBUILD 199891 2013-11-18 07:50:43Z tpowa $ #Maintainer: Tobias Powalowski pkgname=chemtool pkgver=1.6.14 pkgrel=1 pkgdesc="A small program for drawing chemical structures" arch=(i686 x86_64 'mips64el') license=('GPL2') url="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html" depends=('gtk2' 'desktop-file-utils') source=(http://ruby.chemie.uni-freiburg.de/~martin/${pkgname}/${pkgname}-${pkgver}.tar.gz chemtool.desktop) install=chemtool.install build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --mandir=/usr/share/man make } package() { cd ${srcdir}/${pkgname}-${pkgver} 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=('3a97680f0abe1327af1f0072551a68e2' '8cbb6f7021bd5aaa6f6a31fc4d95a06e')