diff options
author | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
commit | da0a0d88caa1bf934ebf314ef86e15928dbb027b (patch) | |
tree | b7c57ac9667de10c72390e0d81654fffbe47c42d /extra/libwmf/PKGBUILD | |
parent | ffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff) |
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'extra/libwmf/PKGBUILD')
-rw-r--r-- | extra/libwmf/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/libwmf/PKGBUILD b/extra/libwmf/PKGBUILD index e6ac70a29..879d27a35 100644 --- a/extra/libwmf/PKGBUILD +++ b/extra/libwmf/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 148846 2012-02-05 11:52:43Z ibiru $ +# $Id: PKGBUILD 184410 2013-05-06 19:38:42Z foutrelis $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=libwmf pkgver=0.2.8.4 -pkgrel=9 +pkgrel=10 pkgdesc="A library for reading vector images in Microsoft's native Windows Metafile Format (WMF)" arch=('i686' 'x86_64') url="http://wvware.sourceforge.net/libwmf.html" @@ -19,19 +19,23 @@ sha1sums=('822ab3bd0f5e8f39ad732f2774a8e9f18fc91e89' '42aa4c2a82e4e14044c875a7f439baea732a355a' 'ea6d28880840e86c96f9079bfd591da54dcffa5c') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +prepare() { + cd ${pkgname}-${pkgver} patch -p1 -i "${srcdir}/libwmf-0.2.8.4-libpng-1.5.patch" patch -p1 -i "${srcdir}/libwmf-0.2.8.4-useafterfree.patch" +} + +build() { + cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-gsfontdir=/usr/share/fonts/Type1 \ --with-fontdir=/usr/share/fonts/Type1 \ - --with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS + --with-gsfontmap=/usr/share/ghostscript/9.07/Resource/Init/Fontmap.GS make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install #Remove fonts, these are in gsfonts rm -rf "${pkgdir}/usr/share/fonts" |