diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ghemical/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ghemical/PKGBUILD')
-rw-r--r-- | community/ghemical/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/ghemical/PKGBUILD b/community/ghemical/PKGBUILD new file mode 100644 index 000000000..480b0b14c --- /dev/null +++ b/community/ghemical/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 32528 2010-11-14 16:07:40Z xyne $ +# Maintainer: Abhishek Dasgupta <abhidg@gmail.com> +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> + +pkgname=ghemical +pkgver=2.99.2 +pkgrel=5 +pkgdesc="Computational chemistry package." +license=("GPL") +arch=(i686 x86_64) +url="http://bioinformatics.org/ghemical/ghemical/" +depends=('libghemical>=2.99' 'liboglappth>=0.98' 'mesa' 'libglade' 'libxmu' 'ttf-dejavu' 'gtkglext' 'openbabel') +makedepends=('pkgconfig' 'intltool>=0.40.0' 'gettext') + +source=(http://bioinformatics.org/ghemical/download/current/${pkgname}-${pkgver}.tar.gz ghemical.desktop ghemical.diff) + +build() { + cd ${srcdir}/${pkgname}-${pkgver}/ + patch -p1 -i ${srcdir}/ghemical.diff || return 1 + + for i in eldview gpcview oglview p1dview p2dview; do + sed -i "s/courier 12/monospace 10/g" "src/${i}_wcl.cpp" || return 1 + done + + install -D -m644 ../ghemical.desktop ${pkgdir}/usr/share/applications/ghemical.desktop + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + +} +md5sums=('30f29b21d2f0649fc79823a7042131b5' + '14742b5efb2ccb94716b17f209adfd9e' + '6cd605a689aab17b8f26249a42261569') + |