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

View file

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