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

Andreas Radke andyrtr at archlinux.org
Sun Jun 7 14:35:32 UTC 2020


    Date: Sunday, June 7, 2020 @ 14:35:31
  Author: andyrtr
Revision: 388429

archrelease: copy trunk to testing-x86_64

Added:
  libpst/repos/testing-x86_64/
  libpst/repos/testing-x86_64/PKGBUILD
    (from rev 388428, libpst/trunk/PKGBUILD)

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

Copied: libpst/repos/testing-x86_64/PKGBUILD (from rev 388428, libpst/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-06-07 14:35:31 UTC (rev 388429)
@@ -0,0 +1,40 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=libpst
+pkgname=('libpst' 'libpst-docs')
+pkgver=0.6.75
+pkgrel=1
+arch=('x86_64')
+url="https://www.five-ten-sg.com/libpst/"
+license=('GPL')
+makedepends=('python' 'boost' 'libgsf')
+source=(https://www.five-ten-sg.com/libpst/packages/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('4ca98fed8ba208d902c954d82eaf2bf5e071c609df695ec4eb34af110f719987')
+
+build() {
+  cd $pkgbase-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man \
+      --disable-static --enable-libpst-shared --disable-dii
+  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