# Contributor: Tom K # Contributor: Aaron Ali # Contributor: Lucas H. Gabrielli # Maintainer: Stefan Husmann pkgname=libctl pkgver=4.5.1 pkgrel=2 arch=('i686' 'x86_64') url="http://ab-initio.mit.edu/wiki/index.php/Libctl" pkgdesc="A free Guile-based library implementing flexible control files for scientific simulations." depends=('bash') source=("$pkgname-$pkgver.tar.gz::https://github.com/NanoComp/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('570aa1a17e9ec059668be72c6430c3db366e6ccad0325f0a721fec3aa9e2b4fe') license=('LGPL') options=('!libtool') build() { cd $pkgname-$pkgver ./autogen.sh ./configure --prefix=/usr LIBS="-lm" CFLAGS=" -fPIC" make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }