blob: 835fdeb38f243dbe2384303a6b24d0cbc32d6101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 144055 2011-12-02 20:54:29Z 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
}
|