[arch-commits] Commit in (foliate foliate/repos foliate/trunk foliate/trunk/PKGBUILD)

Jerome Leclanche jleclanche at archlinux.org
Tue Oct 8 22:05:33 UTC 2019


    Date: Tuesday, October 8, 2019 @ 22:05:33
  Author: jleclanche
Revision: 514299

foliate: Moved from AUR

Added:
  foliate/
  foliate/repos/
  foliate/trunk/
  foliate/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: foliate/trunk/PKGBUILD
===================================================================
--- foliate/trunk/PKGBUILD	                        (rev 0)
+++ foliate/trunk/PKGBUILD	2019-10-08 22:05:33 UTC (rev 514299)
@@ -0,0 +1,32 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=foliate
+pkgver=1.5.3
+pkgrel=1
+pkgdesc="A simple and modern GTK eBook reader"
+arch=("i686" "x86_64")
+url="https://johnfactotum.github.io/foliate/"
+license=("GPL3")
+depends=("gjs"  "webkit2gtk")
+makedepends=("meson" "ninja" "gettext")
+optdepends=(
+	"hyphen: Auto-hyphenation support"
+	"dictd: Offline dictionary support"
+	"festival: Text-to-speech support; also voice package needed"
+	"espeak-ng: Text-to-speech support; also voice package needed"
+)
+source=("https://github.com/johnfactotum/foliate/archive/$pkgver.tar.gz")
+sha256sums=("95f45c0511493a3c732f9a199ddc2b5851a220d74d93e6d14976f29f243ee2d7")
+
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	meson build --prefix=/usr
+	ninja -C build
+}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver"
+	DESTDIR="$pkgdir" ninja -C build install
+	ln -sv com.github.johnfactotum.Foliate "$pkgdir/usr/bin/foliate"
+}



More information about the arch-commits mailing list