PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/libodfgen/PAGBUILD.yaml main

33 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233
pkgname: libodfgen
pkgver: '0.1.8'
pkgrel: '3'
pkgdesc: 'Library for generating documents in Open Document Format'
url: 'https://sourceforge.net/p/libwpd/wiki/libodfgen/'
arch: x86_64
license:
- 'LGPL-2.1-or-later OR MPL-2.0'

depends:
- librevenge
- libxml2
makedepends:
- librevenge
- libxml2

source:
- 'https://sourceforge.net/projects/libwpd/files/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  sed -i "s/#include <math.h>/#include <math.h>\n#include <cstdint>/" \
  ${pkgname}-${pkgver}/src/OdfGenerator.cxx
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-werror
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
  make DESTDIR=${PKGDIR} install

package: |
  true