summaryrefslogtreecommitdiff
path: root/extra/wv2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wv2/PKGBUILD')
-rw-r--r--extra/wv2/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/wv2/PKGBUILD b/extra/wv2/PKGBUILD
new file mode 100644
index 000000000..c2609d367
--- /dev/null
+++ b/extra/wv2/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 57827 2009-11-02 14:26:13Z ronald $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=wv2
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="MSWord 9,8,7,6 formats parser"
+arch=('i686' 'x86_64' 'mips64el')
+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 || return 1
+ make DESTDIR=${pkgdir} install || return 1
+}