diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-11-08 12:54:32 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-15 20:31:46 +0000 |
commit | fa0240a68092da89b4bbcc3a27410b331e4942c9 (patch) | |
tree | 9f4a640f62c6571eb6b36b38346c77c0c05d37a7 /main/mupdf | |
parent | ccc1c2ba6f274da2a9dcdb3a84be28ab2dc1c47f (diff) | |
download | aports-fa0240a68092da89b4bbcc3a27410b331e4942c9.tar.bz2 aports-fa0240a68092da89b4bbcc3a27410b331e4942c9.tar.xz |
main/mupdf: improve abuild and claim maintainership
Diffstat (limited to 'main/mupdf')
-rw-r--r-- | main/mupdf/APKBUILD | 16 |
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 \ |