summaryrefslogtreecommitdiff
path: root/staging/libpst/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-29 12:36:05 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-29 12:36:05 -0300
commit6f36350b7b59dd4ccea3dd878938dd47b77a1608 (patch)
tree6e81bc69d8bba80912b0f7f9224f82bda2d96792 /staging/libpst/PKGBUILD
parente40531aab32ff93b1f9da20d8a43a440d8dffaca (diff)
parent83c3c42a38bda36bdc56d594318958bc4cfd9b32 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/percona-server/PKGBUILD community/qdevelop/PKGBUILD core/openssh/PKGBUILD extra/colord/PKGBUILD extra/enblend-enfuse/PKGBUILD extra/mesa/PKGBUILD extra/telepathy-kde-contact-list/PKGBUILD extra/vim/PKGBUILD multilib/lib32-mesa/PKGBUILD
Diffstat (limited to 'staging/libpst/PKGBUILD')
-rw-r--r--staging/libpst/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/staging/libpst/PKGBUILD b/staging/libpst/PKGBUILD
new file mode 100644
index 000000000..462bb5152
--- /dev/null
+++ b/staging/libpst/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 143595 2011-11-26 22:36:03Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgbase=libpst
+pkgname=('libpst' 'libpst-docs')
+pkgver=0.6.53
+pkgrel=2
+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=('b8e5972429091fd0e915fd3eb695b68adbe1f7cc')
+
+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
+}