summaryrefslogtreecommitdiff
path: root/extra/libwpd/PKGBUILD
blob: c5846bdd564aadd9fea46f7afc9f777edc35bc0d (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
# $Id: PKGBUILD 156639 2012-04-22 00:00:22Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>

pkgname=libwpd
pkgver=0.9.4
pkgrel=1
pkgdesc="Library for importing WordPerfect (tm) documents"
arch=('i686' 'x86_64')
url="http://libwpd.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs')
makedepends=('libgsf>=1.14.20')
options=('!libtool' '!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('d30d1726c3b113db70daaae423dd4448')

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

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