# Template file for 'foliate'
pkgname=foliate
version=2.1.1
revision=1
archs=noarch
build_style=meson
hostmakedepends="pkg-config gettext gjs glib-devel desktop-file-utils appstream-glib"
depends="webkit2gtk gjs"
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=6260e61886bc89b7798b9b1154daac5e0a8e17a572e8d8fea0f480ec874097cd
python_version=2

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