archrelease: copy trunk to extra-x86_64
[arch-packages.git] / librevenge / trunk / PKGBUILD
blobd78d58b60c89f9826e50f6091f24cccd677fe112
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 source=(https://sourceforge.net/projects/libwpd/files/librevenge/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz)
13 sha256sums=('106d0c44bb6408b1348b9e0465666fa83b816177665a22cd017e886c1aaeeb34')
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