archrelease: copy trunk to extra-x86_64
[arch-packages.git] / librevenge / repos / extra-x86_64 / PKGBUILD
blob41943e4ca91e8bdaa92c8598a4ad84ed89f0c1be
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=librevenge
4 pkgver=0.0.5
5 pkgrel=2
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=('zlib' 'gcc-libs')
11 makedepends=('boost' 'doxygen' 'cppunit')
12 options=('debug')
13 source=(https://sourceforge.net/projects/libwpd/files/librevenge/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz)
14 sha256sums=('106d0c44bb6408b1348b9e0465666fa83b816177665a22cd017e886c1aaeeb34')
16 build() {
17   cd $pkgname-$pkgver
18   ./configure --prefix=/usr --disable-werror
19   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
20   make
23 check() {
24   cd $pkgname-$pkgver
25   make check
28 package() {
29   cd $pkgname-$pkgver
30   make DESTDIR="$pkgdir/" install