blob: 07d2362e6a856c38958a98e16cfe7db631caab5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=zathura-pdf-mupdf
pkgver=0.3.4
pkgrel=0
pkgdesc="mupdf plugin to zathura"
url="https://git.pwmt.org/pwmt/zathura-pdf-mupdf"
arch="all"
license="zlib"
makedepends="meson ninja mupdf-dev zathura-dev girara-dev openssl-dev openjpeg-dev libjpeg-turbo-dev jbig2dec-dev"
depends="zathura !zathura-pdf-poppler"
source="https://git.pwmt.org/pwmt/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz
meson-mupdfthird.patch"
options="!check"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
export=LDFLAGS="-ljpeg -lopenjp2 -ljbig2dec"
meson -Dlink-external=true build --prefix=/usr
ninja -C build
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="dd4e0012dbedc21bb0ca5d2c552d44b8292554bc055bc811e7d1705894f17f7ff4920e74be9c2f546d36987572aa375fe96390ba66e0f69edbdeb00b3cb31c11 zathura-pdf-mupdf-0.3.4.tar.gz
f9038cb8ad6f301097a0d8be44847c4a71823f8381889999223d7cc1487bb2431b6b161740ac048c9fcc94c34cb88b673df1e36e34a1fc17a56e9203b5ea4974 meson-mupdfthird.patch"
|