Date: Tuesday, January 15, 2019 @ 09:48:41 Author: felixonmars Revision: 344142
archrelease: copy trunk to staging-x86_64 Added: libpst/repos/staging-x86_64/ libpst/repos/staging-x86_64/PKGBUILD (from rev 344141, libpst/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: libpst/repos/staging-x86_64/PKGBUILD (from rev 344141, libpst/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-01-15 09:48:41 UTC (rev 344142) @@ -0,0 +1,40 @@ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgbase=libpst +pkgname=('libpst' 'libpst-docs') +pkgver=0.6.72 +pkgrel=2 +arch=('x86_64') +url="http://www.five-ten-sg.com/libpst/" +license=('GPL') +makedepends=('python2' 'boost' 'libgsf') +source=(http://www.five-ten-sg.com/libpst/packages/${pkgbase}-${pkgver}.tar.gz) +sha256sums=('8a19d891eb077091c507d98ed8e2d24b7f48b3e82743bcce2b00a12040f5d507') + +build() { + cd $pkgbase-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man \ + --disable-static --enable-libpst-shared --disable-dii PYTHON_VERSION=2 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package_libpst() { + pkgdesc="Outlook .pst file converter" + depends=('gcc-libs' 'libgsf') + optdepends=('boost-libs: for libpst python interface') + options=('!docs') + + cd $pkgbase-$pkgver + make DESTDIR="${pkgdir}" install +} + +package_libpst-docs() { + pkgdesc="Documentation for Outlook .pst file converter" + options=('docs') + + cd $pkgbase-$pkgver + make DESTDIR="${pkgdir}" install-htmlDATA + cd html + make DESTDIR="${pkgdir}" install-htmldevelDATA +}