OCaml 4.14.0 rebuild
[arch-packages.git] / libcdr / repos / extra-x86_64 / PKGBUILD
blobf2ef4adc49f3e1d4d74a45f4a4f72b093be3d96b
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: megadriver <megadriver at gmx dot com>
3 # Contributor: Luca Bennati <lucak3 AT gmail DOT com>
5 pkgname=libcdr
6 pkgver=0.1.7
7 pkgrel=4
8 pkgdesc="CorelDraw file format importer library for LibreOffice"
9 arch=('x86_64')
10 url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
11 license=('GPL2' 'LGPL2.1' 'MPL')
12 depends=('libwpd' 'lcms2' 'icu' 'librevenge')
13 makedepends=('libwpg' 'boost' 'doxygen' 'cppunit')
14 source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz)
15 sha256sums=('5666249d613466b9aa1e987ea4109c04365866e9277d80f6cd9663e86b8ecdd4')
17 build() {
18   cd $pkgname-$pkgver
19   ./configure --prefix=/usr
20   make
23 check() {
24   cd $pkgname-$pkgver
25   make -k check
28 package() {
29   cd $pkgname-$pkgver
30   make DESTDIR="$pkgdir" install