summaryrefslogtreecommitdiff
path: root/libre/calibre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/calibre/PKGBUILD')
-rw-r--r--libre/calibre/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/libre/calibre/PKGBUILD b/libre/calibre/PKGBUILD
index 3251ae9a2..3503ac350 100644
--- a/libre/calibre/PKGBUILD
+++ b/libre/calibre/PKGBUILD
@@ -11,8 +11,8 @@
# Maintainer: Jesús E.<heckyel@parabola.nu>
pkgname=calibre
+_commit=5f502b4526b4e0935dfa0c5e4d91c6e39abcde16
pkgver=3.1.1
-_commit=85222be3542e80b5917863754d7cd333bc3472f2
pkgrel=1.parabola1
pkgdesc="Ebook management application, without nonfree decompression engine for RAR archives"
arch=('x86_64' 'i686' 'armv7h')
@@ -33,14 +33,17 @@ replaces=($pkgname-libre)
conflicts=($pkgname-libre)
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/Megver83/calibre/repository/archive.tar.gz?ref=$pkgver"
"$pkgname-$pkgver.tar.gz.sig::https://gitlab.com/Megver83/calibre/raw/signatures/$pkgname-$pkgver-${_commit}.tar.gz.sig")
-sha512sums=('6f1b32cdcdc7203686716bea6a3b976efee5bca94aa7a89c1f84afa87a5f0b9174aea4cadb220b09d9a4ec520d082693e080c0a33ef6b4abfce6cc5642379214'
+sha512sums=('175732ff75f1fdde44a5cf2c90f896572771f2f4d59fe0c736fc05464df3c3c1a57b17406bf251f819c940a325bb270f413990fdf7bfcc965b611e873efc6eb3'
'SKIP')
validpgpkeys=('6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P.
'916FFBC76D2E641BA416BA53364F4E1483446AC5' # Jesús E.
)
-build() {
+prepare() {
mv "$pkgname-$pkgver-${_commit}" "$pkgname-$pkgver"
+}
+
+build() {
cd "${pkgname}-${pkgver}"
LANG='en_US.UTF-8' python2 setup.py build
@@ -62,4 +65,5 @@ package() {
# Compiling bytecode FS#33392
python2 -m compileall "${pkgdir}/usr/lib/calibre/"
python2 -O -m compileall "${pkgdir}/usr/lib/calibre/"
-}
+}
+