# Description: a library that parses the file format of QuarkXPress documents
# URL: https://wiki.documentfoundation.org/DLP/Libraries/libqxp
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: librevenge icu

name=libqxp
version=0.0.2
release=2
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz
  ax_gcc_func_attribute.m4.patch)

build() {
  cd $name-$version

  patch -Np0 -i $SRC/ax_gcc_func_attribute.m4.patch

  ./configure --prefix=/usr \
    --without-docs
  make
  make DESTDIR=$PKG install
}
