diff options
author | prspkt <prspkt@protonmail.com> | 2018-05-11 16:57:49 +0000 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-06-27 23:07:08 +0200 |
commit | 6f4f00e15237e2991669497b544d15e29b9cc607 (patch) | |
tree | 0e98e62488b622bac1659b73f91de9a178114295 /main/mupdf | |
parent | 831d2ee24986330048dfa488c8bb5017656e8efd (diff) | |
download | aports-6f4f00e15237e2991669497b544d15e29b9cc607.tar.bz2 aports-6f4f00e15237e2991669497b544d15e29b9cc607.tar.xz |
main/mupdf: improve abuild
* use https for upstream URLs
* slightly improve descriptions
* use local keyword for local
Diffstat (limited to 'main/mupdf')
-rw-r--r-- | main/mupdf/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/main/mupdf/APKBUILD b/main/mupdf/APKBUILD index 90973b4802..562e11f571 100644 --- a/main/mupdf/APKBUILD +++ b/main/mupdf/APKBUILD @@ -4,17 +4,17 @@ pkgname=mupdf pkgver=1.13.0 pkgrel=0 -pkgdesc="A lightweight PDF and XPS viewer" -url="http://mupdf.com" +pkgdesc="Lightweight PDF and XPS viewer" +url="https://mupdf.com" arch="all" license="AGPL-3.0-or-later" depends="" -makedepends="freetype-dev jpeg-dev jbig2dec-dev libx11-dev libxext-dev - openjpeg-dev harfbuzz-dev freeglut-dev" +makedepends="freeglut-dev freetype-dev harfbuzz-dev jbig2dec-dev jpeg-dev + libx11-dev libxext-dev openjpeg-dev" subpackages="$pkgname-doc $pkgname-dev $pkgname-x11:_x11 $pkgname-gl:_gl $pkgname-tools:_tools" options="!check" -source="http://mupdf.com/downloads/archive/$pkgname-$pkgver-source.tar.xz +source="https://mupdf.com/downloads/archive/$pkgname-$pkgver-source.tar.xz shared-lib.patch " @@ -36,8 +36,7 @@ builddir="$srcdir/$pkgname-$pkgver-source" prepare() { default_prepare - cd "$builddir" - for file in thirdparty/*; do + local file; for file in thirdparty/*; do [ "${file##*/}" != "mujs" ] && rm -rf "$file" done } @@ -61,7 +60,7 @@ package() { } _x11() { - pkgdesc="A lightweight PDF and XPS viewer with X11 backend" + pkgdesc="$pkgdesc with X11 backend" depends="" mkdir -p "$subpkgdir"/usr/bin @@ -71,7 +70,7 @@ _x11() { } _gl() { - pkgdesc="A lightweight PDF and XPS viewer with OpenGL backend" + pkgdesc="$pkgdesc with OpenGL backend" depends="" mkdir -p "$subpkgdir"/usr/bin |