# Description: File import filter library for spreadsheet documents.
# URL: https://gitlab.com/orcus/orcus
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libixion

name=liborcus
version=0.21.0
release=1
source=(https://gitlab.com/api/v4/projects/orcus%2Forcus/packages/generic/source/$version/liborcus-$version.tar.xz
  rpath.patch.0)

build() {
  cd $name-$version

  patch -Np0 -i $SRC/rpath.patch.0

  ./configure --prefix=/usr \
    --with-pic \
    --disable-debug \
    --disable-python
  make
  make DESTDIR=$PKG install
}
