1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
6 pkgdesc="A library for reading vector images in Microsoft's native Windows Metafile Format (WMF)"
8 url="http://wvware.sourceforge.net/libwmf.html"
10 depends=('libx11' 'libjpeg' 'gsfonts' 'freetype2' 'expat')
11 makedepends=('gtk2' 'libxt')
12 optdepends=('gdk-pixbuf2: for pixbuf loader')
13 options=('!docs' '!emptydirs')
14 source=($pkgname-$pkgver.tar.gz::https://github.com/caolanm/libwmf/archive/v$pkgver.tar.gz)
15 sha256sums=('18ba69febd2f515d98a2352de284a8051896062ac9728d2ead07bc39ea75a068')
18 cd ${pkgname}-${pkgver}
23 cd ${pkgname}-${pkgver}
24 ./configure --prefix=/usr \
25 --with-gsfontdir=/usr/share/fonts/Type1 \
26 --with-fontdir=/usr/share/fonts/Type1 \
27 --with-gsfontmap=/usr/share/ghostscript/9.10/Resource/Init/Fontmap.GS
32 cd ${pkgname}-${pkgver}
33 make DESTDIR="${pkgdir}" install -j1
34 #Remove fonts, these are in gsfonts
35 rm -rf "${pkgdir}/usr/share/fonts"