diff --git a/srcpkgs/fontforge/template b/srcpkgs/fontforge/template index 853c91ce6b6..f51168ea89b 100644 --- a/srcpkgs/fontforge/template +++ b/srcpkgs/fontforge/template @@ -1,9 +1,9 @@ # Template file for 'fontforge' pkgname=fontforge version=20150612 -revision=1 +revision=2 build_style=gnu-configure -hostmakedepends="automake libtool libltdl-devel pkg-config git python" +hostmakedepends="automake libtool libltdl-devel pkg-config git python ca-certificates" makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel libspiro-devel hicolor-icon-theme desktop-file-utils" @@ -21,6 +21,11 @@ pre_configure() { ./bootstrap } +pre_build() { + # Disable unused #include + sed -i fontforge/cvundoes.c -e "s;\(.*#include \);//\1;" +} + post_install() { vcopy ../Adobe-* usr/share/fontforge vmkdir usr/share/icons/hicolor