upgpkg: calibre-bin-8.15.0-1: new upstream release
This commit is contained in:
parent
5ea6cfc409
commit
641eba1bfd
2 changed files with 15 additions and 12 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = calibre-bin
|
||||
pkgdesc = Ebook management application
|
||||
pkgver = 8.14.0
|
||||
pkgver = 8.15.0
|
||||
pkgrel = 1
|
||||
url = https://download.calibre-ebook.com
|
||||
arch = x86_64
|
||||
|
|
@ -12,9 +12,9 @@ pkgbase = calibre-bin
|
|||
conflicts = calibre-bin
|
||||
options = !strip
|
||||
source = share.tar.xz
|
||||
source = https://download.calibre-ebook.com/8.14.0/calibre-8.14.0-x86_64.txz
|
||||
source = https://download.calibre-ebook.com/8.15.0/calibre-8.15.0-x86_64.txz
|
||||
b2sums = 07e59ad14b4bb5d69f9b887990ff3cde918ff571a45381cca4f846bdbfa6df65b7f5b5d56bcd8926b8787c8d7dd5fe562f6332f9d4a7027369d814cbea7dd5ee
|
||||
b2sums = dee892f31379878678fcfb39d356b33b77c115f21e4e550022d04bcfe880d088426f438ec496e877aaadcc10139d69ab70c8e622965c9efe84b01dbecc668ef9
|
||||
b2sums = a988cec06d71219bf7bafbc8708ce1add5b2b8838ea1cc06251c56b822948ea3626cb6d37056b5da613ccc3b9a0a57358b5a091a5853697ccb7d2572001dcc50
|
||||
|
||||
pkgname = calibre-bin
|
||||
depends = alsa-lib
|
||||
|
|
|
|||
21
PKGBUILD
21
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
# Contributor: Alex Potapenko <opotapenko@gmail.com>
|
||||
|
||||
pkgname=calibre-bin
|
||||
pkgver=8.14.0
|
||||
pkgver=8.15.0
|
||||
pkgrel=1
|
||||
pkgdesc="Ebook management application"
|
||||
arch=(
|
||||
|
|
@ -20,16 +20,16 @@ conflicts=(
|
|||
"${pkgname-prebuild}"
|
||||
)
|
||||
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
|
||||
## 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}/${pkgver}/calibre-${pkgver}-x86_64.txz"
|
||||
)
|
||||
b2sums=('07e59ad14b4bb5d69f9b887990ff3cde918ff571a45381cca4f846bdbfa6df65b7f5b5d56bcd8926b8787c8d7dd5fe562f6332f9d4a7027369d814cbea7dd5ee'
|
||||
'dee892f31379878678fcfb39d356b33b77c115f21e4e550022d04bcfe880d088426f438ec496e877aaadcc10139d69ab70c8e622965c9efe84b01dbecc668ef9')
|
||||
'a988cec06d71219bf7bafbc8708ce1add5b2b8838ea1cc06251c56b822948ea3626cb6d37056b5da613ccc3b9a0a57358b5a091a5853697ccb7d2572001dcc50')
|
||||
|
||||
prepare() {
|
||||
# don't want the sources symlinks in the final tarball
|
||||
|
|
@ -129,15 +129,18 @@ package() {
|
|||
zlib
|
||||
zstd
|
||||
)
|
||||
# Creating needed directories
|
||||
## Creating needed directories
|
||||
install -dm0755 "${pkgdir}/usr/bin"
|
||||
install -dm0755 "${pkgdir}/opt/calibre"
|
||||
|
||||
# Package calibre
|
||||
## Package calibre
|
||||
cp -af "${srcdir}/"* "${pkgdir}/opt/calibre"
|
||||
mv -f "${pkgdir}/opt/calibre/share" "${pkgdir}/usr"
|
||||
## espeak-ng-data used by calibre
|
||||
install -dm755 "$pkgdir/opt/calibre/share"
|
||||
mv -f "$pkgdir/usr/share/espeak-ng-data" "$pkgdir/opt/calibre/share"
|
||||
chmod +rx "${pkgdir}/opt/calibre/resources/locales"
|
||||
# Create symlinks in /usr/bin
|
||||
## 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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue