sbcl rebuild
[arch-packages.git] / libodfgen / trunk / PKGBUILD
blobca5a46e0766711a2d95aa37db3ea6eac8e5d8ce6
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Maintainer:  BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Yue
5 pkgname=libodfgen
6 pkgver=0.1.8
7 pkgrel=1
8 pkgdesc='Library for generating documents in Open Document Format'
9 arch=('x86_64')
10 url='https://sourceforge.net/p/libwpd/wiki/libodfgen/'
11 license=('MPL')
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')
17 build() {
18   cd $pkgname-$pkgver
19   ./configure --prefix=/usr --disable-werror
20   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
21   make
24 check() {
25   cd $pkgname-$pkgver
26   make check
29 package() {
30   cd $pkgname-$pkgver
31   make DESTDIR="$pkgdir" install