21 lines
771 B
Plaintext
21 lines
771 B
Plaintext
# Description: simple and modern GTK eBook reader
|
|
# URL: https://github.com/johnfactotum/foliate
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: meson gettext webkitgtk gjs
|
|
|
|
name=foliate
|
|
version=2.6.4
|
|
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
|
|
}
|