#Packager: Dimitris Tzemos pkgname=jags pkgver=3.3.0 pkgrel=1dj source=(http://downloads.sourceforge.net/project/mcmc-jags/JAGS/3.x/Source/JAGS-$pkgver.tar.gz) url="http://mcmc-jags.sourceforge.net/" docs=("AUTHORS " "COPYING" "ChangeLog" "INSTALL" "NEWS" "README") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "JAGS (Just Another Gibbs Sampler)" "It is a program for the statistical analysis of Bayesian hierarchical" "models by Markov Chain Monte Carlo." "" "http://mcmc-jags.sourceforge.net/" ) build() { cd "$SRC/JAGS-$pkgver" ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 mkdir -p $PKG/usr/doc/$pkgname-$pkgver/manual || return 1 cp $SRC/JAGS-$pkgver/doc/manual/jags* $PKG/usr/doc/$pkgname-$pkgver/manual/ || return 1 }