pkgname: libwmf pkgver: '0.2.15' pkgrel: '1' pkgdesc: A library for reading vector images in Microsoft's native Windows Metafile Format (WMF) url: 'https://wvware.sourceforge.net/libwmf.html' arch: x86_64 depends: [] makedepends: - autoconf - automake - gsfonts - libjpeg-turbo - xorg-libx11 - gdk-pixbuf - gtk2 - xorg-libxt source: - libwmf-freetype.patch - 'https://github.com/caolanm/libwmf/archive/v${pkgver}.tar.gz' sha256sums: - SKIP - 379ae041dd53ab35f55c9b73a78a31f1ce530e925023c31607b05f2199d867e6 build: | cd ${pkgname}-${pkgver} autoreconf -fi ./configure --prefix=/usr \ --with-gsfontdir=/usr/share/fonts/Type1 \ --with-fontdir=/usr/share/fonts/Type1 \ --with-gsfontmap=/usr/share/ghostscript/9.14/Resource/Init/Fontmap.GS make make -j1 DESTDIR=${PKGDIR} install # rm fonts already in gsfonts packages rm -rf ${PKGDIR}/usr/share/fonts # Obsolets libs rm -f ${PKGDIR}/usr/lib/libwmf.la rm -f ${PKGDIR}/usr/lib/libwmflite.la package: | true