# Maintainer: Natanael Copa pkgname=wv pkgver=1.2.9 pkgrel=0 pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats" url="http://sourceforge.net/projects/wvware" arch="all" license="GPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="pkgconfig libgsf-dev libpng-dev bzip2-dev coreutils" source="http://www.abisource.com/downloads/wv/$pkgver/wv-$pkgver.tar.gz fix-soname.patch " prepare() { cd "$srcdir"/$pkgname-$pkgver # patch -p1 -i "$srcdir"/fix-soname.patch } build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --mandir=/usr/share/man || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } md5sums="dbccf2e9f747e50c913b7e3d126b73f7 wv-1.2.9.tar.gz 10a6988f743346c2429e189cef4363bd fix-soname.patch"