db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / libodfgen / trunk / PKGBUILD
blob8aabc86d613df8073fd00adc8e7b930dbdbd0625
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor:  BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Yue
5 pkgname=libodfgen
6 pkgver=0.1.8
7 pkgrel=2
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=('libwpg' 'libetonyek' 'doxygen')
14 source=(https://sourceforge.net/projects/libwpd/files/libodfgen/libodfgen-$pkgver/$pkgname-$pkgver.tar.xz)
15 sha1sums=('9b36d313e64c6ce1026485d521fbdeff7f47594c')
16 sha256sums=('55200027fd46623b9bdddd38d275e7452d1b0ff8aeddcad6f9ae6dc25f610625')
18 build() {
19   cd $pkgname-$pkgver
20   ./configure --prefix=/usr --disable-werror
21   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
22   make
25 check() {
26   cd $pkgname-$pkgver
27   make check
30 package() {
31   cd $pkgname-$pkgver
32   make DESTDIR="$pkgdir" install