PKGBUILDs/extra/chemtool/PKGBUILD

25 lines
879 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 49294 2009-08-05 21:34:50Z tpowa $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=chemtool
pkgver=1.6.12
pkgrel=2
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 $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=$startdir/pkg/ install
install -D -m644 gnome/chemtool.png $startdir/pkg/usr/share/pixmaps/chemtool.png
install -D -m644 $startdir/src/chemtool.desktop $startdir/pkg/usr/share/applications/chemtool.desktop
}
md5sums=('f9e0633cbda09fcfe5a4ea4c56bcd460'
'8cbb6f7021bd5aaa6f6a31fc4d95a06e')