summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8aa51b8a5a939d8e7a18bfe419195fb82e95ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Tom K <tomk@runbox.com>
# Maintainer: Aaron Ali <t0nedef@causal.ca>
# Maintainer: Lucas H. Gabrielli <heitzmann@gmail.com>

pkgname=libctl
pkgver=3.2.2
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="A free Guile-based library implementing flexible control files for scientific simulations."
depends=('guile2.0' 'gcc-fortran')
source=(http://ab-initio.mit.edu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('5fd7634dc9ae8e7fa70a68473b9cbb68')
url="http://ab-initio.mit.edu/wiki/index.php/Libctl"
license=('GPL')
options=('!libtool')

build() {
  cd ${srcdir}/$pkgname-$pkgver
  ./configure --prefix=/usr LIBS="-lm" GUILE='/usr/bin/guile2.0' GUILE_CONFIG='/usr/bin/guile-config2.0'
  make 
}
package() {
  cd ${srcdir}/$pkgname-$pkgver
  make DESTDIR=${pkgdir} install
}