summaryrefslogtreecommitdiff
path: root/testing/libwps/PKGBUILD
blob: 1d7c87e6c4680840fcc406cbc6559b994d985046 (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 165826 2012-08-31 04:51:19Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Robert McCathie <archaur at rmcc dot com dot au>

pkgname=libwps
pkgver=0.2.7
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.4')
makedepends=('boost')
options=(!libtool)
source=("http://downloads.sourceforge.net/project/libwps/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('d197bd6211669a2fa4ca648faf04bcb1')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure  --prefix=/usr \
	  --disable-static \
	  --disable-werror
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}