From f68478767816f5486278cd66f10d6793963e9db8 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 20 Jun 2016 22:32:44 +0200 Subject: [PATCH] mupdf: build and install libmujs.a. --- srcpkgs/mupdf/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template index b223de905fe..22a0021cb0a 100644 --- a/srcpkgs/mupdf/template +++ b/srcpkgs/mupdf/template @@ -1,7 +1,7 @@ # Template file for 'mupdf' pkgname=mupdf version=1.9a -revision=1 +revision=2 wrksrc="${pkgname}-${version}-source" hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel libjpeg-turbo-devel jbig2dec-devel libXext-devel libXcursor-devel @@ -30,8 +30,10 @@ do_build() { CFLAGS+=" -fPIC" if [ "$CROSS_BUILD" ]; then make CROSSCOMPILE=yes CURL_LIBS='-lcurl -lpthread' build=release + make CROSSCOMPILE=yes CFLAGS="$CFLAGS" build=release -C thirdparty/mujs else make CURL_LIBS='-lcurl -lpthread' build=release + make build=release CFLAGS="$CFLAGS" -C thirdparty/mujs fi } do_install() { @@ -41,6 +43,7 @@ do_install() { rm ${DESTDIR}/usr/bin/mupdf-x11 vinstall build/release/libmupdf.a 644 usr/lib + vinstall thirdparty/mujs/build/libmujs.a 644 usr/lib vinstall ${FILESDIR}/mupdf.xpm 644 usr/share/pixmaps vinstall ${FILESDIR}/mupdf.desktop 644 usr/share/applications