# Template file for 'foliate'
pkgname=foliate
version=2.6.4
revision=1
build_style=meson
hostmakedepends="pkg-config gettext gjs glib-devel"
depends="webkit2gtk gjs"
checkdepends="desktop-file-utils appstream-glib"
short_desc="Simple and modern GTK eBook reader"
maintainer="lorem <notloremipsum@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://johnfactotum.github.io/foliate/"
distfiles="https://github.com/johnfactotum/foliate/archive/${version}.tar.gz"
checksum=4a4381bff6e398f6734e1695da23f1c593ba2a67e463e07021a089ffd0741776
python_version=3

post_install() {
	ln -s com.github.johnfactotum.Foliate ${DESTDIR}/usr/bin/foliate
}
