summaryrefslogtreecommitdiff
path: root/extra/libwps/PKGBUILD
blob: 011d4a9ba64d802e33ddfe8c2ac1e9c344f7427b (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
# $Id: PKGBUILD 151320 2012-02-25 13:44:08Z allan $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Robert McCathie <archaur at rmcc dot com dot au>

pkgname=libwps
pkgver=0.2.2
pkgrel=2
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=('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
}