# Maintainer: AndyRTR # Contributor: megadriver # Contributor: Luca Bennati pkgname=libcdr pkgver=0.1.7 pkgrel=5 pkgdesc="CorelDraw file format importer library for LibreOffice" arch=('x86_64') url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr" license=('GPL2' 'LGPL2.1' 'MPL') depends=('libwpd' 'lcms2' 'icu' 'librevenge') makedepends=('libwpg' 'boost' 'doxygen' 'cppunit') source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz) sha256sums=('5666249d613466b9aa1e987ea4109c04365866e9277d80f6cd9663e86b8ecdd4') build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } check() { cd $pkgname-$pkgver make -k check } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }