summaryrefslogtreecommitdiff
path: root/extra/wv/PKGBUILD
blob: 6fd79b060d5b4aea3018430d749d7e77b3010a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $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.9
pkgrel=1
pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/wvware"
license=('GPL')
depends=('libgsf' 'libpng' 'sh')
makedepends=('pkg-config')
options=('!libtool')
source=("http://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('dbccf2e9f747e50c913b7e3d126b73f7')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --mandir=/usr/share/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}