mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +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.8
|
|
pkgrel=1
|
|
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=('6954f8bf8c76526e86a4e335c18c3c68f509fbbe1081f7c74d333f8a9ba83bc5da971ad744f91408f8b0fb8f0b647ae07f02601b5efa97961155ba193c8777f6')
|
|
|
|
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"
|
|
}
|