summaryrefslogtreecommitdiff
path: root/extra/wv2/PKGBUILD
blob: a30b0f9c42e4814efb8f65ae3ba86ccd2e9dbe84 (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
30
31
32
33
34
# $Id: PKGBUILD 142173 2011-11-05 11:56:53Z pierre $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=wv2
pkgver=0.4.2
pkgrel=2
pkgdesc="MSWord 9,8,7,6 formats parser"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/wvware/"
depends=('libgsf')
makedepends=('cmake')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/wvware/${pkgname}-${pkgver}.tar.bz2")
license=('GPL2')
md5sums=('850ed8e44a84e7bf0610747827018cbc')

build() {
  cd ${srcdir}
  mkdir build
  cd build

  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_SKIP_RPATH=ON \
    -DCMAKE_INSTALL_PREFIX=/usr

  make
}

package() {
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install
}