# Contributor: prspkt # Maintainer: prspkt pkgname=foliate pkgver=2.6.4 pkgrel=2 pkgdesc="Simple and modern eBook viewer" url="https://johnfactotum.github.io/foliate" arch="noarch !armhf !s390x !riscv64" # missing gjs license="GPL-3.0-or-later" depends="gjs webkit2gtk-4.1" makedepends="gettext-dev glib-dev iso-codes-dev meson" subpackages="$pkgname-lang" options="!check" source="https://github.com/johnfactotum/foliate/archive/$pkgver/foliate-$pkgver.tar.gz $pkgname-2-startup-notify.patch::https://github.com/johnfactotum/foliate/commit/5bc67906034cb44de23da9e25ca4c2381cfc6594.diff webkit2gtk-4.1.patch " build() { abuild-meson . output meson compile -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output ln -s com.github.johnfactotum.Foliate "$pkgdir"/usr/bin/foliate } sha512sums=" af58efa2c33451617dbf7327b56551557d762ac80f1b489d5da1c5a46ebbfe329052149deb8b2f4c7729a7fd46deccd5500fd96c0a662b731c871c1ad8061cd3 foliate-2.6.4.tar.gz 6cc0245a351f8a97f5566894552a355120031691105d6f9c687667a2eee9b2df3a59d1e338d0c5a123528a27fb37309380be29c63d8260670e8b75089fc097bc foliate-2-startup-notify.patch 2ebc26006de0520edea6cdf427bb420e9a564a6e01294ddca45bb6973e505d54c4d4ff6b64301949a8494abd20a156c6e282ee3689e5206e8c5e2ae269efab0c webkit2gtk-4.1.patch "