blob: 0fe76b3f092786f2665cb6c36a5567e04996f8c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 197890 2013-10-30 11:29:54Z allan $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=chemtool
pkgver=1.6.13
pkgrel=1.2
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=('d263b8cf097134e36c5e929e7e77d668'
'8cbb6f7021bd5aaa6f6a31fc4d95a06e')
|