Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
foliate
Commits:
4fad756a by Caleb Maclennan at 2023-11-20T20:01:13+03:00
upgpkg: 3.0.1-2
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = foliate
pkgdesc = A simple and modern GTK eBook reader
pkgver = 3.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://johnfactotum.github.io/foliate/
arch = x86_64
license = GPL3
@@ -12,13 +12,12 @@ pkgbase = foliate
depends = gtk4
depends = libadwaita
depends = webkitgtk-6.0
+ optdepends = espeak-ng: Text-to-speech support; also voice package
needed
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
+ source =
https://github.com/johnfactotum/foliate/releases/download/3.0.1/com.github.johnfactotum.Foliate-3.0.1.tar.xz
+ sha256sums =
e95c31848500ab408e2498cc3331a367e4037e8f2e7f952a054f9dd04d5fe3ee
pkgname = foliate
=====================================
PKGBUILD
=====================================
@@ -1,41 +1,31 @@
# Maintainer: Caleb Maclennan <[email protected]>
# Contributor: Jerome Leclanche <[email protected]>
-_js_sha=2ea63929c73b6a3b98fc772abf6b9249b3bfadab
-
pkgname=foliate
pkgver=3.0.1
-pkgrel=1
+pkgrel=2
pkgdesc='A simple and modern GTK eBook reader'
arch=(x86_64)
url="https://johnfactotum.github.io/$pkgname/"
+_url="https://github.com/johnfactotum/$pkgname"
license=(GPL3)
depends=(gjs
gtk4
libadwaita
# iso-codes
- webkitgtk-6.0
-)
+ webkitgtk-6.0)
makedepends=(gettext
meson
ninja)
-optdepends=(#'espeak-ng: Text-to-speech support; also voice package needed'
+optdepends=(#'dictd: Offline dictionary support'
+ '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"
-_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"
-}
+_archive="com.github.johnfactotum.${pkgname^}-$pkgver"
+source=("$_url/releases/download/$pkgver/$_archive.tar.xz")
+sha256sums=('e95c31848500ab408e2498cc3331a367e4037e8f2e7f952a054f9dd04d5fe3ee')
build() {
cd "$_archive"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/foliate/-/commit/4fad756a89d975b45568730511c86c87783a147c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/foliate/-/commit/4fad756a89d975b45568730511c86c87783a147c
You're receiving this email because of your account on gitlab.archlinux.org.