updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / pspp / PKGBUILD
blob82a4e956ccdf6dc7e18eb9a674c9be1eb95c4577
1 # Contributor: joyfulgirl <joyfulgirl (at) archlinux.us>
2 pkgname=pspp
3 pkgver=0.6.2
4 pkgrel=5
5 pkgdesc="Statistical analysis program"
6 arch=('i686' 'x86_64')
7 url="http://www.gnu.org/software/pspp/"
8 license=('GPL3')
9 depends=('gsl' 'plotutils' 'libglade')
10 optdepends=('postgresql-libs: PG database support'
11             'zlib: GNUmeric support'
12             'libxml2: GNUMERIC support')
13 changelog=ChangeLog
14 source=(ftp://ftp.gnu.org/gnu/pspp/pspp-0.6.2.tar.gz
15         gtk-2.diff)
16 md5sums=('03080eb9e3ffeb03f18bc925fcd83fcb'
17          '43880e65b579a9f07bc2e455df9e4195')
18 install=pspp.install
20 build() {
21     cd ${srcdir}/${pkgname}-${pkgver}
22     patch -Np1 -i ../../gtk-2.diff
23     ./configure --prefix=/usr \
24                 --sysconfdir=/etc \
25                 --without-libreadline-prefix
26     make
29 package() {
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
38 # End of file