mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
43 lines
1.6 KiB
Bash
43 lines
1.6 KiB
Bash
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
|
|
# Maintainer: Robin Candau <antiz@archlinux.org>
|
|
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: ML <neldoreth>
|
|
|
|
# ALARM: David Beauchamp <david@archlinuxarm.org>
|
|
# - moved xorg-server-xvfb from checkdepends to makedepends
|
|
|
|
pkgname=zathura
|
|
pkgver=0.5.6
|
|
pkgrel=2
|
|
pkgdesc="Minimalistic document viewer"
|
|
url="https://pwmt.org/projects/zathura/"
|
|
arch=('x86_64')
|
|
license=('Zlib')
|
|
makedepends=('python-sphinx' 'texlive-bin' 'meson' 'ninja' 'appstream-glib' 'check' 'xorg-server-xvfb')
|
|
#checkdepends=('xorg-server-xvfb')
|
|
depends=('girara' 'sqlite' 'desktop-file-utils' 'file' 'libsynctex' 'file' 'libseccomp')
|
|
optdepends=('zathura-djvu: DjVu support'
|
|
'zathura-pdf-poppler: PDF support using Poppler'
|
|
'zathura-pdf-mupdf: PDF support using MuPDF'
|
|
'zathura-ps: PostScript support'
|
|
'zathura-cb: Comic book support')
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pwmt/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
|
|
sha512sums=('df518865bc559b97d7abebde2dae17cbd7bde6b9f8219338bd3a455a5d71b42f62299591b9c12c75a9a6f007b1179cb163722eaaf43ee86e6a6d9e2e25f63465')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
arch-meson build
|
|
ninja -C build
|
|
}
|
|
|
|
check() {
|
|
cd "${pkgname}-${pkgver}"
|
|
ninja -C build test
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
DESTDIR="${pkgdir}" ninja -C build install
|
|
install -Dm 664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|