summaryrefslogtreecommitdiff
path: root/pcr/pspp/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-16 03:37:59 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-16 03:37:59 +0000
commitb296a78e1469d58c52acc47586bd5bb84f25fc0f (patch)
treea7bd50ca00f66f43ab58a4e79740737a82cf6991 /pcr/pspp/PKGBUILD
parent154321f7346db5c32dbdf9c730735969eabbd88f (diff)
Thu Jan 16 03:32:12 UTC 2014
Diffstat (limited to 'pcr/pspp/PKGBUILD')
-rw-r--r--pcr/pspp/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/pspp/PKGBUILD b/pcr/pspp/PKGBUILD
new file mode 100644
index 000000000..d0042745f
--- /dev/null
+++ b/pcr/pspp/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Miguel Revilla <yo@miguelrevilla.com>
+# Contributor: joyfulgirl <joyfulgirl (at) archlinux.us>
+pkgname=pspp
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Statistical analysis program"
+arch=('i686' 'x86_64')
+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