# Contributor: Tom K # Contributor: Aaron Ali # Contributor: Lucas H. Gabrielli # Maintainer: Stefan Husmann pkgname=libctl pkgver=4.2.0 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/stevengj/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('ca75d76bbbacd92b902b2ce64927bba0ed36d21372ae752ba7e23571289008b7') 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 }