2022-02-05 20:39:19 +00:00
|
|
|
# Description: simple and modern GTK eBook reader
|
|
|
|
# URL: https://github.com/johnfactotum/foliate
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2022-04-16 12:46:45 +00:00
|
|
|
# Depends on: meson gettext webkitgtk gjs
|
2022-02-05 20:39:19 +00:00
|
|
|
|
|
|
|
name=foliate
|
2022-03-09 22:01:59 +00:00
|
|
|
version=2.6.4
|
2022-02-05 20:39:19 +00:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/johnfactotum/foliate/archive/$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
|
|
|
meson build --prefix=/usr --buildtype release -Ddocumentation=disabled
|
|
|
|
ninja -C build
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
|
|
|
cd $PKG/usr/bin && ln -s com.github.johnfactotum.Foliate foliate
|
|
|
|
rm -rf $PKG/usr/share/locale
|
|
|
|
rm $PKG/usr/share/com.github.johnfactotum.Foliate/assets/libarchivejs/libarchivejs-1.3.0/README.md
|
|
|
|
rm $PKG/usr/share/com.github.johnfactotum.Foliate/assets/libarchivejs/libarchivejs-1.3.0/LICENSE
|
|
|
|
}
|