OCaml 4.14.0 rebuild
[arch-packages.git] / librevenge / trunk / PKGBUILD
blob10c83d1344f42cfd4defe4f2f84dabd628e2ffdf
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=librevenge
4 pkgver=0.0.4
5 pkgrel=4
6 pkgdesc="library for REVerses ENGineered formats filters"
7 arch=('x86_64')
8 url="https://sf.net/p/libwpd/librevenge/"
9 license=('MPL')
10 depends=('boost-libs')
11 makedepends=('boost' 'doxygen' 'cppunit')
12 source=(https://sourceforge.net/projects/libwpd/files/librevenge/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz)
13 sha1sums=('533dd83a668d3efc0095ad82718e34662395635d')
15 build() {
16         cd $pkgname-$pkgver
17         ./configure --prefix=/usr --disable-werror
18         sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
19         make
22 check() {
23         cd $pkgname-$pkgver
24         make check
27 package() {
28         cd $pkgname-$pkgver
29         make DESTDIR="$pkgdir/" install