updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / chemtool-proper / PKGBUILD
blob189c6d751abbc8f44c23dcca084621037ed81085
1 # Contributor: Connor Behan <connor.behan@gmail.com>
3 pkgname=chemtool-proper
4 pkgver=1.6.12
5 pkgrel=2
6 pkgdesc="Chemtool without the stupid right justified help menu"
7 arch=(i686 x86_64)
8 license=('GPL2')
9 url="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html"
10 depends=('gtk2')
11 replaces=('chemtool')
12 provides=('chemtool')
13 options=(!libtool)
14 source=(http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool-$pkgver.tar.gz chemtool.desktop)
16 build() {
17   cd $startdir/src/chemtool-$pkgver
18   sed -i -e 's/.*right_justify.*//g' main.c
19   ./configure --prefix=/usr --mandir=/usr/share/man
20  make || return 1
21  make DESTDIR=$startdir/pkg/ install
22  install -D -m644 gnome/chemtool.png $startdir/pkg/usr/share/pixmaps/chemtool.png
23  install -D -m644 $startdir/src/chemtool.desktop $startdir/pkg/usr/share/applications/chemtool.desktop
26 md5sums=('f9e0633cbda09fcfe5a4ea4c56bcd460' '8cbb6f7021bd5aaa6f6a31fc4d95a06e')