31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'sioyek'
|
|
pkgname=sioyek
|
|
version=2.0.0
|
|
revision=7
|
|
build_style=qmake
|
|
configure_args="pdf_viewer_build_config.pro"
|
|
hostmakedepends="qt5-qmake qt5-host-tools
|
|
qt5-opengl qt5-gui qt5-widgets qt5-network"
|
|
makedepends="zlib-devel qt5-3d-devel qt5-gamepad-devel mupdf-devel
|
|
gumbo-parser-devel harfbuzz-devel qt5-opengl mujs-devel freetype-devel
|
|
libjbig2dec libjpeg-turbo-devel libopenjpeg2-devel"
|
|
short_desc="PDF viewer designed for reading research papers and technical books"
|
|
maintainer="dkwo <npiazza@disroot.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://sioyek.info/"
|
|
distfiles="https://github.com/ahrm/sioyek/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=92398b6da5e297c59f22cd3c6b562194846f28bc17bb4ae9432869aafeb5df17
|
|
|
|
do_install() {
|
|
vbin sioyek
|
|
vmkdir etc/sioyek
|
|
vinstall pdf_viewer/prefs.config 644 etc/sioyek
|
|
vinstall pdf_viewer/keys.config 644 etc/sioyek
|
|
vmkdir usr/share/sioyek/shaders
|
|
vcopy pdf_viewer/shaders/* usr/share/sioyek/shaders
|
|
vinstall tutorial.pdf 644 usr/share/sioyek
|
|
vinstall resources/sioyek.desktop 644 usr/share/applications
|
|
vinstall resources/sioyek-icon-linux.png 644 usr/share/pixmaps
|
|
vman resources/sioyek.1
|
|
}
|