summaryrefslogtreecommitdiff
path: root/pcr/pspp/PKGBUILD
blob: 8cba348756133a6f9899c04a41b7cecb110dbab0 (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
26
27
28
29
30
31
32
33
34
# Maintainer (Arch): Miguel Revilla <yo@miguelrevilla.com>
# Contributor (Arch): joyfulgirl <joyfulgirl (at) archlinux.us>
pkgname=pspp
pkgver=0.8.2
pkgrel=1
pkgdesc="Statistical analysis program"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/pspp/"
license=('GPL3')
depends=('gsl' 'gtksourceview2' 'postgresql-libs' 'desktop-file-utils')
optdepends=('zlib: GNUmeric support'
            'libxml2: GNUMERIC support')
options=('!libtool' '!emptydirs')
source=(http://ftp.gnu.org/gnu/pspp/pspp-${pkgver}.tar.gz)
md5sums=('cba0b161bb69e1bbd71612d09694b0ec')
install=pspp.install

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --without-libreadline-prefix
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    rm -f "${pkgdir}/usr/share/info/dir"
    install -d "${pkgdir}"/usr/share/pspp/contrib
    install -m 644 pspp-mode.el "${pkgdir}"/usr/share/pspp/contrib/pspp-mode.el
}

# End of file