diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-01 04:45:05 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-01 04:45:05 -0200 |
commit | 52dd108836155b53454bd95a4a9dbd0c104b79d3 (patch) | |
tree | c87f4853b64b5333f7a5aa97bdb5823d34628e21 /pcr/pspp | |
parent | 5af0fca430a07bda87310d2ef1a33b6cdb31f732 (diff) | |
parent | e2abfecd7d65712f41cd27c8f5ae8d69c478f214 (diff) | |
download | abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.tar.gz abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.tar.bz2 abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/pspp')
-rw-r--r-- | pcr/pspp/PKGBUILD | 34 | ||||
-rw-r--r-- | pcr/pspp/pspp.install | 18 |
2 files changed, 52 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 diff --git a/pcr/pspp/pspp.install b/pcr/pspp/pspp.install new file mode 100644 index 000000000..def5ae5a5 --- /dev/null +++ b/pcr/pspp/pspp.install @@ -0,0 +1,18 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache /usr/share/icons/hicolor + cd /usr/share/info + install-info pspp.info.gz dir + install-info pspp-dev.info dir +} + +pre_remove() { + cd /usr/share/info + install-info --remove pspp.info.gz dir + install-info --remove pspp-dev.info dir +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache /usr/share/icons/hicolor +} |