diff options
author | root <root@rshg054.dnsready.net> | 2012-03-05 00:01:22 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-05 00:01:22 +0000 |
commit | 11711de1942a141f28faef695c4c78c8357fbf23 (patch) | |
tree | 363a8b5d445b8eb1dcee4263b5f06d2fe307678f /testing/libpst | |
parent | f0fa42126da9e3eec6b98388b35c67929fa20dae (diff) |
Mon Mar 5 00:01:22 UTC 2012
Diffstat (limited to 'testing/libpst')
-rw-r--r-- | testing/libpst/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/libpst/PKGBUILD b/testing/libpst/PKGBUILD new file mode 100644 index 000000000..df08f1f9c --- /dev/null +++ b/testing/libpst/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 151817 2012-03-03 08:09:00Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgbase=libpst +pkgname=('libpst' 'libpst-docs') +pkgver=0.6.54 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://www.five-ten-sg.com/libpst/" +license=('GPL') +makedepends=('python2' 'boost') +source=(http://www.five-ten-sg.com/libpst/packages/${pkgbase}-${pkgver}.tar.gz) +sha1sums=('a4713b87e330556acb0786b4efa975a3c739cd84') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man \ + --disable-static --enable-libpst-shared --disable-dii PYTHON_VERSION=2 + make +} + +package_libpst() { + pkgdesc="Outlook .pst file converter" + depends=('gcc-libs') + optdepends=('boost-libs: for libpst python interface') + options=('!libtool' '!docs') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +package_libpst-docs() { + pkgdesc="Documentation for Outlook .pst file converter" + options=('!libtool') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install-htmlDATA + cd "${srcdir}/${pkgbase}-${pkgver}/html" + make DESTDIR="${pkgdir}" install-htmldevelDATA +} |