summaryrefslogtreecommitdiff
path: root/extra/libwps/PKGBUILD
blob: 2ed030d01981816a54ce52f3e45b04579f0b3fb8 (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 166173 2012-09-05 06:04:00Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Robert McCathie <archaur at rmcc dot com dot au>

pkgname=libwps
pkgver=0.2.7
pkgrel=1.1
pkgdesc="a Microsoft Works file word processor format import filter library"
arch=('i686' 'x86_64' 'mips64el')
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
}