[arch-commits] Commit in libpst/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu May 31 13:38:45 UTC 2018


    Date: Thursday, May 31, 2018 @ 13:38:44
  Author: foutrelis
Revision: 325442

archrelease: copy trunk to staging-x86_64

Added:
  libpst/repos/staging-x86_64/
  libpst/repos/staging-x86_64/PKGBUILD
    (from rev 325441, libpst/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: libpst/repos/staging-x86_64/PKGBUILD (from rev 325441, libpst/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-05-31 13:38:44 UTC (rev 325442)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=libpst
+pkgname=('libpst' 'libpst-docs')
+pkgver=0.6.71
+pkgrel=3
+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=('fb9208d21a39f103011fe09ee8d1a37596f679df5495a8c58071c4c7b39e168c')
+
+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
+}



More information about the arch-commits mailing list