aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mupdf/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/mupdf/APKBUILD b/main/mupdf/APKBUILD
index 725d305ac9..a7dc678d90 100644
--- a/main/mupdf/APKBUILD
+++ b/main/mupdf/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
+# Contributor: Michael Zhou <zhoumichaely@gmail.com>
+# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=mupdf
pkgver=1.9a
-pkgrel=7
+pkgrel=8
pkgdesc="A lightweight PDF and XPS viewer"
url="http://mupdf.com"
arch="all"
@@ -33,7 +34,7 @@ prepare() {
}
build() {
- make HAVE_GLFW=yes SYS_GLFW_LIBS="-lglfw -lGL" \
+ make HAVE_GLFW=yes SYS_GLFW_LIBS="$(pkgconf --libs glfw3 gl)" \
prefix=/usr -C "$builddir" || return 1
}
@@ -48,7 +49,8 @@ package() {
_x11() {
pkgdesc="A lightweight PDF and XPS viewer with X11 backend"
- depends="mupdf"
+ depends=""
+
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/mupdf-x11 \
"$subpkgdir"/usr/bin/ || return 1
@@ -57,7 +59,8 @@ _x11() {
_gl() {
pkgdesc="A lightweight PDF and XPS viewer with OpenGL backend"
- depends="mupdf"
+ depends=""
+
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/mupdf-gl \
"$subpkgdir"/usr/bin/ || return 1
@@ -65,7 +68,8 @@ _gl() {
_tools() {
pkgdesc="Tools for a lightweight PDF and XPS viewer"
- depends="mupdf"
+ depends=""
+
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/mutool \
"$pkgdir"/usr/bin/mujstest \