initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=zathura-pdf-mupdf
pkgver=0.3.9
pkgrel=2
pkgdesc="Adds pdf support to zathura by using the mupdf engine"
url='https://pwmt.org/projects/zathura-pdf-mupdf/'
arch=('i686' 'x86_64')
license=('zlib')
conflicts=('zathura-pdf-poppler')
depends=('cairo' 'gumbo-parser' 'jbig2dec' 'libjpeg-turbo' 'openjpeg2' 'libressl' 'zathura')
makedepends=('libmupdf' 'meson' 'ninja' 'git-legacy')
groups=('zathura-extra')
source=("https://pwmt.org/projects/${pkgname}/download/${pkgname}-${pkgver}.tar.xz"
"0001-Remove-mupdf-linking-detection.patch"
"0002-Fix-build.patch")
sha512sums=('6a81e562965a0d6a2a25e301b0cc20ee70ada43ed7261f5d4ef6c132de1136f0222ebee0088d80cc2e0d1d60595e335cb1a1a914cb761aad36b487d7c16ac034'
'd84f5431296b84f3197002ced8e66d178582b2303c1b7b736159ed4e8147eb409c48198b20595ce296e49f76c8df5794779c4e9888df6051c6129cb512db317c'
'49b2c2eee0c83c11ae20e1539a093e8775cfef64f6ff98e8ce5535e12033e2114f19883d9446597f781368af507f0e23b293c7e7176b96857cb06527f37807b0')
prepare() {
cd $pkgname-$pkgver
patch -p1 <"$srcdir"/0001-Remove-mupdf-linking-detection.patch
patch -p1 <"$srcdir"/0002-Fix-build.patch
}
build() {
cd $pkgname-$pkgver
hyperbola-meson build
ninja -C build
}
package(){
DESTDIR="$pkgdir" ninja -C $pkgname-$pkgver/build install
install -Dm644 zathura-pdf-mupdf-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}