diff options
Diffstat (limited to 'extra/wv/PKGBUILD')
-rw-r--r-- | extra/wv/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/wv/PKGBUILD b/extra/wv/PKGBUILD new file mode 100644 index 000000000..0e8208ae6 --- /dev/null +++ b/extra/wv/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 82057 2010-06-08 10:05:16Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> +pkgname=wv +pkgver=1.2.7 +pkgrel=1 +pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats" +arch=(i686 x86_64) +url="http://sourceforge.net/projects/wvware" +license=(GPL) +depends=('libgsf>=1.14.18' 'libpng>=1.4.2' 'sh') +makedepends=('pkg-config') +options=('!libtool') +source=(http://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz + fix-soname.patch) +sha256sums=('a3a367062e894770fc3ef63bbf7e285cb025253f972fa899c16931f741e856ea' + '0fccf12cc5db8481dfcd5cffa987545e060f8bb526c9c910fd76a18468bd7ce1') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/fix-soname.patch" || return 1 + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} |