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