pkgname=libcdr pkgver=0.1.7 pkgrel=8 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' 'libwpg' 'lcms2' 'icu' 'librevenge') makedepends=('boost' 'doxygen' 'cppunit') source=("https://dev-www.libreoffice.org/src/libcdr/${pkgname}-${pkgver}.tar.xz") md5sums=('b6df5cafffe0724b8a1339ecc1710936') build() { cd ${pkgname}-${pkgver} #patch -p1 -i ${srcdir}/libcdr-0.1.6-icu-68.patch ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }