OCaml 4.14.0 rebuild
[arch-packages.git] / wv / repos / extra-x86_64 / PKGBUILD
blob82c5ed8ebad1acb02bf774e0ba8e41ef2ec3eaec
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: William Rea <sillywilly@gmail.com>
3 pkgname=wv
4 pkgver=1.2.9
5 pkgrel=5
6 pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats"
7 arch=('x86_64')
8 url="https://sourceforge.net/projects/wvware"
9 license=('GPL')
10 depends=(libgsf libpng sh)
11 source=(https://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('dbccf2e9f747e50c913b7e3d126b73f7')
13 sha1sums=('db4717a151742dbdb492318f104504a92075543a')
15 build() {
16   cd $pkgname-$pkgver
18   ./configure --prefix=/usr \
19     --mandir=/usr/share/man --disable-static
20   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
21   make
24 package() {
25   cd $pkgname-$pkgver
26   make DESTDIR="${pkgdir}" install