From 9e9ab642711f2424f828e21d14b98c45cdef2b29 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Dec 2011 23:14:46 +0000 Subject: Thu Dec 1 23:14:46 UTC 2011 --- community/liboglappth/PKGBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'community/liboglappth') diff --git a/community/liboglappth/PKGBUILD b/community/liboglappth/PKGBUILD index 7d3b4f0f2..950e171d6 100644 --- a/community/liboglappth/PKGBUILD +++ b/community/liboglappth/PKGBUILD @@ -1,23 +1,26 @@ -# $Id: PKGBUILD 17276 2010-05-22 17:07:31Z xyne $ -# Maintainer: Abhishek Dasgupta +# Maintainer: Xyne # Contributor: Abhishek Dasgupta 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') +arch=(i686 x86_64) 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') -- cgit v1.2.3-54-g00ecf