summaryrefslogtreecommitdiff
path: root/community/liboglappth/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/liboglappth/PKGBUILD')
-rw-r--r--community/liboglappth/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/community/liboglappth/PKGBUILD b/community/liboglappth/PKGBUILD
index d96dfba27..fd9809fb2 100644
--- a/community/liboglappth/PKGBUILD
+++ b/community/liboglappth/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 17276 2010-05-22 17:07:31Z xyne $
-# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
+# Maintainer: Xyne <ac xunilhcra enyx, backwards>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
pkgname=liboglappth
-pkgver=0.98
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
pkgdesc="Library containing computational chemistry facility of ghemical"
license=("GPL")
arch=('i686' 'x86_64' 'mips64el')
@@ -12,12 +11,16 @@ url="http://bioinformatics.org/ghemical/libghemical/"
depends=('gcc-libs')
makedepends=('mesa')
options=(!libtool)
-source=(http://bioinformatics.org/ghemical/download/current/${pkgname}-${pkgver}.tar.gz)
+source=(http://bioinformatics.org/ghemical/download/release20111012/${pkgname}-${pkgver}.tar.gz)
+md5sums=('48261e5f4cf99e113fb22e524f0b1eeb')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}/
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ cd -- "$srcdir/$pkgname-$pkgver/"
+ ./configure --prefix=/usr --enable-openbabel
+ make
+}
+
+package() {
+ cd -- "$srcdir/$pkgname-$pkgver/"
+ make DESTDIR="$pkgdir" install
}
-md5sums=('dd280286a51fcba6a47264a383a2f1fe')