diff options
Diffstat (limited to 'community/ghemical/PKGBUILD')
-rw-r--r-- | community/ghemical/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/ghemical/PKGBUILD b/community/ghemical/PKGBUILD new file mode 100644 index 000000000..320a3aa7d --- /dev/null +++ b/community/ghemical/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Xyne <ac xunilhcra enyx, backwards> +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> + +pkgname=ghemical +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>=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/release20111012/${pkgname}-${pkgver}.tar.gz ghemical.desktop) +md5sums=('becf98626f0eba73f7f042bc92aa60ac' + '7e8789d42d1318a427a30f3bf64cb5a6') + +build() { + cd -- "$srcdir/$pkgname-$pkgver/" + ./configure --prefix=/usr + make +} + +package() { + install -D -m644 "$srcdir"/ghemical.desktop "$pkgdir"/usr/share/applications/ghemical.desktop + cd -- "$srcdir/$pkgname-$pkgver/" + make DESTDIR="$pkgdir" install +} |