1 # Contributor: joyfulgirl <joyfulgirl (at) archlinux.us>
5 pkgdesc="Statistical analysis program"
7 url="http://www.gnu.org/software/pspp/"
9 depends=('gsl' 'plotutils' 'libglade')
10 optdepends=('postgresql-libs: PG database support'
11 'zlib: GNUmeric support'
12 'libxml2: GNUMERIC support')
14 source=(ftp://ftp.gnu.org/gnu/pspp/pspp-0.6.2.tar.gz
16 md5sums=('03080eb9e3ffeb03f18bc925fcd83fcb'
17 '43880e65b579a9f07bc2e455df9e4195')
21 cd ${srcdir}/${pkgname}-${pkgver}
22 patch -Np1 -i ../../gtk-2.diff
23 ./configure --prefix=/usr \
25 --without-libreadline-prefix
30 cd ${srcdir}/${pkgname}-${pkgver}
31 make DESTDIR=$pkgdir install
32 rm -f ${pkgdir}/usr/share/info/dir
33 install -d ${pkgdir}/usr/share/pspp/{contrib,examples}
34 install -m 644 pspp-mode.el ${pkgdir}/usr/share/pspp/contrib/pspp-mode.el
35 install -m 644 -t ${pkgdir}/usr/share/pspp/examples examples/*.stat