summaryrefslogtreecommitdiff
path: root/community/ghemical
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-02 13:37:59 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-02 13:37:59 -0300
commit3383a1fbd954b78716dd8ff9d9f2097e176d2279 (patch)
tree68aa3acbd50e6d0d7bdcfa2947d1772f7edb8a0d /community/ghemical
parent7f3d7e2203a9252280361a1d095528cb056d08dc (diff)
parent9e9ab642711f2424f828e21d14b98c45cdef2b29 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/packagekit/PKGBUILD community/liboglappth/PKGBUILD community/texvc/PKGBUILD extra/libvdpau/PKGBUILD extra/minicom/PKGBUILD extra/muparser/PKGBUILD extra/netkit-bsd-finger/PKGBUILD extra/normalize/PKGBUILD
Diffstat (limited to 'community/ghemical')
-rw-r--r--community/ghemical/PKGBUILD35
-rw-r--r--community/ghemical/ghemical.desktop4
2 files changed, 16 insertions, 23 deletions
diff --git a/community/ghemical/PKGBUILD b/community/ghemical/PKGBUILD
index 122c319b6..320a3aa7d 100644
--- a/community/ghemical/PKGBUILD
+++ b/community/ghemical/PKGBUILD
@@ -1,34 +1,27 @@
-# $Id: PKGBUILD 32528 2010-11-14 16:07:40Z xyne $
-# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
+# Maintainer: Xyne <ac xunilhcra enyx, backwards>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
pkgname=ghemical
-pkgver=2.99.2
-pkgrel=5
+pkgver=3.0.0
+pkgrel=1
pkgdesc="Computational chemistry package."
license=("GPL")
arch=(i686 x86_64 'mips64el')
url="http://bioinformatics.org/ghemical/ghemical/"
-depends=('libghemical>=2.99' 'liboglappth>=0.98' 'mesa' 'libglade' 'libxmu' 'ttf-dejavu' 'gtkglext' 'openbabel')
+depends=('libghemical>=3.0' 'liboglappth>=1.0' '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)
+source=(http://bioinformatics.org/ghemical/download/release20111012/${pkgname}-${pkgver}.tar.gz ghemical.desktop)
+md5sums=('becf98626f0eba73f7f042bc92aa60ac'
+ '7e8789d42d1318a427a30f3bf64cb5a6')
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
+ cd -- "$srcdir/$pkgname-$pkgver/"
./configure --prefix=/usr
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
-
+ make
}
-md5sums=('30f29b21d2f0649fc79823a7042131b5'
- '14742b5efb2ccb94716b17f209adfd9e'
- '6cd605a689aab17b8f26249a42261569')
+package() {
+ install -D -m644 "$srcdir"/ghemical.desktop "$pkgdir"/usr/share/applications/ghemical.desktop
+ cd -- "$srcdir/$pkgname-$pkgver/"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/ghemical/ghemical.desktop b/community/ghemical/ghemical.desktop
index 5b307b06e..eff450186 100644
--- a/community/ghemical/ghemical.desktop
+++ b/community/ghemical/ghemical.desktop
@@ -1,12 +1,12 @@
[Desktop Entry]
Type=Application
-Version=1.0
+Version=3.0.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
+Icon=/usr/share/ghemical/3.0.0/pixmaps/ghemical.png
Exec=/usr/bin/ghemical
Terminal=false
Categories=Science;Chemistry;Education;