1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
6 pkgdesc="Library for importing WordPerfect (tm) documents"
8 url="https://libwpd.sourceforge.net/"
10 depends=('gcc-libs' 'zlib' 'librevenge')
11 makedepends=('libgsf>=1.14.26' 'doxygen' 'boost')
12 options=('!emptydirs')
13 source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz
15 sha1sums=('c1254f05b2318c160d836e5583c221386db50dd2'
16 '9a91b8cd6252b610e72769efd1dd26f8a0b81285')
19 cd ${pkgname}-${pkgver}
20 patch -Np1 -i ../libwpd-gcc11.patch
24 cd ${pkgname}-${pkgver}
25 ./configure --prefix=/usr --disable-static
26 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
36 cd ${pkgname}-${pkgver}
37 make DESTDIR="${pkgdir}" install