# $Id: PKGBUILD 67819 2012-03-14 16:22:14Z spupykin $ # Maintainer: Daniel Wallace # Maintainer: Sergej Pupykin # Contributor: Moritz Lipp pkgname=zathura-pdf-mupdf pkgver=0.2.6 pkgrel=4 pkgdesc="Adds pdf support to zathura by using the mupdf library" arch=('i686' 'x86_64') url="https://pwmt.org/projects/zathura/plugins/zathura-pdf-mupdf/" license=('custom') depends=('zathura' 'jbig2dec' 'openjpeg2') conflicts=('zathura-pdf-poppler') makedepends=('mupdf>=1.4') source=("https://pwmt.org/projects/zathura/plugins/download/$pkgname-$pkgver.tar.gz") md5sums=('5102e416aecc2a14d78cc9c83d529b39') build() { make -C "${srcdir}/$pkgname-$pkgver" MUPDF_LIB="-lmupdf -lmujs" } package(){ make -C "${srcdir}/$pkgname-$pkgver" DESTDIR="$pkgdir" install install -Dm0644 "${srcdir}/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }