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 |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ghemical')
-rw-r--r-- | community/ghemical/PKGBUILD | 34 | ||||
-rw-r--r-- | community/ghemical/ghemical.desktop | 13 | ||||
-rw-r--r-- | community/ghemical/ghemical.diff | 11 |
3 files changed, 58 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') + diff --git a/community/ghemical/ghemical.desktop b/community/ghemical/ghemical.desktop new file mode 100644 index 000000000..5b307b06e --- /dev/null +++ b/community/ghemical/ghemical.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Ghemical +GenericName=Computational chemistry package +GenericName[de]=Chemisches Berechnungsprogramm +Comment=3D molecule editor and computing program +Comment[de]=3D Moleküleditor und Berechnungsprogramm +Icon=/usr/share/ghemical/2.99.2/pixmaps/ghemical.png +Exec=/usr/bin/ghemical +Terminal=false +Categories=Science;Chemistry;Education; +StartupNotify=true diff --git a/community/ghemical/ghemical.diff b/community/ghemical/ghemical.diff new file mode 100644 index 000000000..a52d1a6b7 --- /dev/null +++ b/community/ghemical/ghemical.diff @@ -0,0 +1,11 @@ +--- a/src/pangofont_wcl.cpp 2008-07-31 14:00:05.000000000 +0530 ++++ b/src/pangofont_wcl.cpp 2008-08-01 09:53:09.000000000 +0530 +@@ -19,6 +19,8 @@ + /*################################################################################################*/ + + #include "pangofont_wcl.h" ++#include <stdlib.h> ++#include <string.h> + + #include <gtk/gtkgl.h> + |