From 886d3d0994eb8e9f3e797155619619e0ef1353f8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 8 May 2011 22:33:52 +0000 Subject: Sun May 8 22:33:51 UTC 2011 --- extra/libwps/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 extra/libwps/PKGBUILD (limited to 'extra/libwps') diff --git a/extra/libwps/PKGBUILD b/extra/libwps/PKGBUILD new file mode 100644 index 000000000..650e94400 --- /dev/null +++ b/extra/libwps/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 122933 2011-05-07 10:59:22Z andyrtr $ +# Maintainer: AndyRTR +# Contributor: Robert McCathie + +pkgname=libwps +pkgver=0.2.2 +pkgrel=1 +pkgdesc="a Microsoft Works file word processor format import filter library" +arch=('i686' 'x86_64') +url="http://libwps.sourceforge.net/" +license=('LGPL') +depends=('libwpd>=0.9.2') +options=(!libtool) +source=("http://downloads.sourceforge.net/project/libwps/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2") +#md5sums=('83d4029aebf290c0a9a8fee9c99638d3') +#md5sums=('9e436bff44c60dc8b97cba0c7fc11a5c') +md5sums=('29721a16f25967d59969d5f0ae485b4a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i -e 's: -Wall -Werror -pedantic::' configure.in + touch NEWS AUTHORS ChangeLog + autoreconf -fi + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + -- cgit v1.2.3-54-g00ecf