102.11.0-1
[arch-packages.git] / libmspub / trunk / PKGBUILD
blobe81326dd99430e9e14c54236ddc727cee3de4b04
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com>
4 pkgname=libmspub
5 pkgver=0.1.4
6 pkgrel=13
7 pkgdesc="Microsoft Publisher file format parser library (latest snapshot)"
8 arch=('x86_64')
9 url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
10 license=('GPL2' 'LGPL2.1' 'MPL')
11 depends=('libwpd' 'icu' 'librevenge')
12 makedepends=('libwpg' 'boost' 'doxygen')
13 source=(https://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${pkgver}.tar.xz
14         buildfix.diff)
15 sha256sums=('ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba'
16             'be1a871f9ebfb15d989605137d5de0c5dc67a3e383e0e1178037f8a9bdfc89dc')
18 prepare() {
19     cd "${pkgname}"-${pkgver}
20     patch -Np1 -i ../buildfix.diff
21     autoreconf -vfi
24 build() {
25     cd "${pkgname}"-${pkgver}
26     ./configure --prefix=/usr --with-docs
27     make
30 package() {
31     cd "${pkgname}"-${pkgver}
32     make DESTDIR="$pkgdir" install