summaryrefslogtreecommitdiff
path: root/extra/libcdr/PKGBUILD
blob: d5f74de72c875fc7b256deb985943dba6bc3d52a (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
31
32
# $Id: PKGBUILD 211320 2014-04-18 17:28:23Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: megadriver <megadriver at gmx dot com>
# Contributor: Luca Bennati <lucak3 AT gmail DOT com>

pkgname=libcdr
pkgver=0.0.16
pkgrel=2
pkgdesc="CorelDraw file format importer library for LibreOffice"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/libcdr/"
license=('GPL2' 'LGPL2.1' 'MPL')
depends=('libwpd' 'lcms2' 'icu')
makedepends=('libwpg' 'boost')
source=(http://dev-www.libreoffice.org/src/$pkgname-$pkgver.tar.xz)
md5sums=('b494bbaf48a0d5f90a525e6ea37bc096')

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

check() {
  cd $pkgname-$pkgver
  make -k check
}

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