1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
8 pkgdesc='Library for generating documents in Open Document Format'
10 url='https://sourceforge.net/p/libwpd/wiki/libodfgen/'
12 depends=('zlib' 'librevenge' 'libxml2')
13 makedepends=('boost' 'libwpg' 'libetonyek' 'doxygen')
14 source=(https://sourceforge.net/projects/libwpd/files/libodfgen/libodfgen-$pkgver/$pkgname-$pkgver.tar.xz)
15 sha1sums=('9b36d313e64c6ce1026485d521fbdeff7f47594c')
19 ./configure --prefix=/usr --disable-werror
20 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
31 make DESTDIR="$pkgdir" install