Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / foliate
Commits: 7ad55d36 by Caleb Maclennan at 2023-11-20T13:07:32+03:00 upgpkg: 3.0.1-1 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,24 @@ +pkgbase = foliate + pkgdesc = A simple and modern GTK eBook reader + pkgver = 3.0.1 + pkgrel = 1 + url = https://johnfactotum.github.io/foliate/ + arch = x86_64 + license = GPL3 + makedepends = gettext + makedepends = meson + makedepends = ninja + depends = gjs + depends = gtk4 + depends = libadwaita + depends = webkitgtk-6.0 + optdepends = festival: Text-to-speech support; also voice package needed + optdepends = gspell: Spell-checking support + optdepends = hyphen: Auto-hyphenation support + optdepends = tracker3 + source = https://github.com/johnfactotum/foliate/archive/3.0.1/foliate-3.0.1.tar.gz + source = https://github.com/johnfactotum/foliate-js/archive/2ea63929c73b6a3b98fc772abf6b9249b3bfadab/foliate-3.0.1-js.tar.gz + sha256sums = b90a4b3361baefd6c851a40897cf362e74a962a4748272b7933f3baf3b0ef9d4 + sha256sums = e557435e228bd764d913357bb183c696b55363fd880cf4d31e91dbd061cc3315 + +pkgname = foliate ===================================== PKGBUILD ===================================== @@ -1,28 +1,41 @@ # Maintainer: Caleb Maclennan <[email protected]> # Contributor: Jerome Leclanche <[email protected]> +_js_sha=2ea63929c73b6a3b98fc772abf6b9249b3bfadab + pkgname=foliate -pkgver=2.6.4 -pkgrel=3 +pkgver=3.0.1 +pkgrel=1 pkgdesc='A simple and modern GTK eBook reader' arch=(x86_64) url="https://johnfactotum.github.io/$pkgname/" license=(GPL3) depends=(gjs - iso-codes - webkit2gtk) + gtk4 + libadwaita + # iso-codes + webkitgtk-6.0 +) makedepends=(gettext meson ninja) -optdepends=('dictd: Offline dictionary support' - 'espeak-ng: Text-to-speech support; also voice package needed' +optdepends=(#'espeak-ng: Text-to-speech support; also voice package needed' 'festival: Text-to-speech support; also voice package needed' 'gspell: Spell-checking support' 'hyphen: Auto-hyphenation support' 'tracker3') _archive="$pkgname-$pkgver" -source=("https://github.com/johnfactotum/foliate/archive/$pkgver/$_archive.tar.gz") -sha256sums=("4a4381bff6e398f6734e1695da23f1c593ba2a67e463e07021a089ffd0741776") +_url="https://github.com/johnfactotum/$pkgname" +source=("$_url/archive/$pkgver/$_archive.tar.gz" + "$_url-js/archive/$_js_sha/$_archive-js.tar.gz") +sha256sums=('b90a4b3361baefd6c851a40897cf362e74a962a4748272b7933f3baf3b0ef9d4' + 'e557435e228bd764d913357bb183c696b55363fd880cf4d31e91dbd061cc3315') + +prepare() { + cd "$_archive" + rm -rf "src/${pkgname}-js" + ln -sf "../../${pkgname}-js-$_js_sha" "src/${pkgname}-js" +} build() { cd "$_archive" @@ -33,5 +46,4 @@ build() { package() { cd "$_archive" DESTDIR="$pkgdir" ninja -C build install - ln -sv com.github.johnfactotum.Foliate "$pkgdir/usr/bin/foliate" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/foliate/-/commit/7ad55d3676ab6026320d39a1d580ceda1cbbf3fe -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/foliate/-/commit/7ad55d3676ab6026320d39a1d580ceda1cbbf3fe You're receiving this email because of your account on gitlab.archlinux.org.
