upgpkg: calibre-bin-8.11.1-1: new upstream release

This commit is contained in:
Christian Schendel 2025-09-26 17:18:44 +02:00
parent bd8c9c6bb5
commit 1138a64d7a
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
2 changed files with 28 additions and 24 deletions

View file

@ -1,18 +1,18 @@
pkgbase = calibre-bin pkgbase = calibre-bin
pkgdesc = Ebook management application pkgdesc = Ebook management application
pkgver = 8.10.0 pkgver = 8.11.1
pkgrel = 2 pkgrel = 1
url = https://github.com/kovidgoyal/calibre url = https://download.calibre-ebook.com
arch = x86_64 arch = x86_64
license = GPL-3.0-only license = GPL-3.0-only
provides = calibre=8.10.0 provides = calibre=8.11.1
conflicts = calibre conflicts = calibre
conflicts = calibre-git conflicts = calibre-git
options = !emptydirs options = !strip
source = share.tar.xz source = share.tar.xz
source = https://github.com/kovidgoyal/calibre/releases/download/v8.10.0/calibre-8.10.0-x86_64.txz source = https://download.calibre-ebook.com/8.11.1/calibre-8.11.1-x86_64.txz
b2sums = e4f5fae13053d05538c96d3be4ddb57bc5d98ecb365036a1afe4cf41e7c9e902ca039b4c7dbb7c1f8f45e53951633e98e1f36f29a192d0ea536067c7c6822512 b2sums = e4f5fae13053d05538c96d3be4ddb57bc5d98ecb365036a1afe4cf41e7c9e902ca039b4c7dbb7c1f8f45e53951633e98e1f36f29a192d0ea536067c7c6822512
b2sums = 4baa625683b7e6ecb6ba043c4d68d131c13a6a83daf0dfe5de7a4f7aace9da35025f19af47d75394066bcd23bb16b7b69af38ca5c399455161741085c0211b68 b2sums = 5d5e1fae8326ee8dc9ccaf88cc751600f5b53a9fdc391131a5b4e4759ba5715bf3e14088c96177d7e5689088b4215c722883924a1b751c7cc9875233aea232c5
pkgname = calibre-bin pkgname = calibre-bin
depends = alsa-lib depends = alsa-lib
@ -33,6 +33,7 @@ pkgname = calibre-bin
depends = hunspell depends = hunspell
depends = hyphen depends = hyphen
depends = jbigkit depends = jbigkit
depends = lcms2
depends = libdeflate depends = libdeflate
depends = libdrm depends = libdrm
depends = libffi depends = libffi
@ -61,6 +62,7 @@ pkgname = calibre-bin
depends = libxkbcommon depends = libxkbcommon
depends = libxkbcommon-x11 depends = libxkbcommon-x11
depends = libxkbfile depends = libxkbfile
depends = libxml2
depends = libxrandr depends = libxrandr
depends = libxslt depends = libxslt
depends = libxtst depends = libxtst
@ -73,6 +75,7 @@ pkgname = calibre-bin
depends = openssl depends = openssl
depends = pcre2 depends = pcre2
depends = podofo depends = podofo
depends = poppler
depends = python depends = python
depends = qt6-base depends = qt6-base
depends = qt6-declarative depends = qt6-declarative

View file

@ -2,13 +2,13 @@
# Contributor: Alex Potapenko <opotapenko@gmail.com> # Contributor: Alex Potapenko <opotapenko@gmail.com>
pkgname=calibre-bin pkgname=calibre-bin
pkgver=8.10.0 pkgver=8.11.1
pkgrel=2 pkgrel=1
pkgdesc="Ebook management application" pkgdesc="Ebook management application"
arch=( arch=(
x86_64 x86_64
) )
url="https://github.com/kovidgoyal/calibre" url="https://download.calibre-ebook.com"
license=( license=(
GPL-3.0-only GPL-3.0-only
) )
@ -19,25 +19,23 @@ conflicts=(
calibre calibre
calibre-git calibre-git
) )
options=( options=('!strip')
'!emptydirs'
)
# Sources # Sources
# Since there doesn't seem to be a simple way to generate desktop # Since there doesn't seem to be a simple way to generate desktop
# integration files without building calibre from source, # integration files without building calibre from source,
# we'll provide them here # we'll provide them here
source=( source=(
share.tar.xz share.tar.xz
"$url/releases/download/v${pkgver}/calibre-${pkgver}-x86_64.txz" "${url}/${pkgver}/calibre-${pkgver}-x86_64.txz"
) )
b2sums=('e4f5fae13053d05538c96d3be4ddb57bc5d98ecb365036a1afe4cf41e7c9e902ca039b4c7dbb7c1f8f45e53951633e98e1f36f29a192d0ea536067c7c6822512' b2sums=('e4f5fae13053d05538c96d3be4ddb57bc5d98ecb365036a1afe4cf41e7c9e902ca039b4c7dbb7c1f8f45e53951633e98e1f36f29a192d0ea536067c7c6822512'
'4baa625683b7e6ecb6ba043c4d68d131c13a6a83daf0dfe5de7a4f7aace9da35025f19af47d75394066bcd23bb16b7b69af38ca5c399455161741085c0211b68') '5d5e1fae8326ee8dc9ccaf88cc751600f5b53a9fdc391131a5b4e4759ba5715bf3e14088c96177d7e5689088b4215c722883924a1b751c7cc9875233aea232c5')
prepare() { prepare() {
# don't want the sources symlinks in the final tarball # don't want the sources symlinks in the final tarball
for src in "${source[@]##*/}"; do for src in "${source[@]##*/}"; do
if [[ -L "$srcdir/$src" ]]; then if [[ -L "${srcdir}/${src}" ]]; then
rm "$srcdir/$src" rm "${srcdir}/${src}"
fi fi
done done
} }
@ -62,6 +60,7 @@ package() {
hunspell hunspell
hyphen hyphen
jbigkit jbigkit
lcms2
libdeflate libdeflate
libdrm libdrm
libffi libffi
@ -90,6 +89,7 @@ package() {
libxkbcommon libxkbcommon
libxkbcommon-x11 libxkbcommon-x11
libxkbfile libxkbfile
libxml2
libxrandr libxrandr
libxslt libxslt
libxtst libxtst
@ -102,6 +102,7 @@ package() {
openssl openssl
pcre2 pcre2
podofo podofo
poppler
python python
qt6-base qt6-base
qt6-declarative qt6-declarative
@ -129,16 +130,16 @@ package() {
zstd zstd
) )
# Creating needed directories # Creating needed directories
install -dm755 "$pkgdir/usr/bin" install -dm0755 "${pkgdir}/usr/bin"
install -dm755 "$pkgdir/opt/calibre" install -dm0755 "${pkgdir}/opt/calibre"
# Package calibre # Package calibre
cp -af "$srcdir/"* "$pkgdir/opt/calibre" cp -af "${srcdir}/"* "${pkgdir}/opt/calibre"
mv -f "$pkgdir/opt/calibre/share" "$pkgdir/usr" mv -f "${pkgdir}/opt/calibre/share" "${pkgdir}/usr"
chmod +rx "${pkgdir}/opt/calibre/resources/locales"
# Create symlinks in /usr/bin # Create symlinks in /usr/bin
#shellcheck disable=SC2044 #shellcheck disable=SC2044
for f in $(find "$pkgdir/opt/calibre" -maxdepth 1 -type f -printf "%f\n"); do for f in $(find "${pkgdir}/opt/calibre" -maxdepth 1 -type f -printf "%f\n"); do
ln -s "/opt/calibre/$f" "$pkgdir/usr/bin/$f" ln -s "/opt/calibre/$f" "${pkgdir}/usr/bin/$f"
done done
} }