1 # Maintainer: Somebody <somebody[at]foo[dot]tld>
5 pkgdesc="(Open)BUGS is a software package for performing Bayesian inference Using Gibbs Sampling"
6 url="http://www.openbugs.info"
11 makedepends=('gcc-multilib')
13 source=("${pkgname}_${pkgver}.tar.gz::http://www.openbugs.info/w/OpenBUGS_3_2_1?action=AttachFile&do=get&target=OpenBUGS-$pkgver.tar.gz")
14 md5sums=('65de6128d402056f25cec6cd4e66ecd3')
17 mv "${srcdir}/OpenBUGS-${pkgver}" "${srcdir}/${pkgname}-${pkgver}"
18 cd "${srcdir}/${pkgname}-${pkgver}"
19 ./configure --prefix=/usr
24 cd "${srcdir}/${pkgname}-${pkgver}"
25 sed -i 's/prefix = \/usr/prefix=${pkgdir}\/usr/' $srcdir/$pkgname-$pkgver/src/Makefile
26 make INSTDIR=${pkgdir}/usr/lib/OpenBUGS prefix=${pkgdir}/usr install