summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b9edc633c49..420e57dcd2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
+# Generated by mksrcinfo v8
+# Sun Dec 10 20:49:34 UTC 2017
pkgbase = python-epub
pkgdesc = Python library to open and read epub version 2 archives.
pkgver = 0.5.2
- pkgrel = 1
+ pkgrel = 2
url = http://pypi.python.org/pypi/epub
arch = any
license = LGPL3
- source = http://pypi.python.org/packages/source/e/epub/epub-0.5.2.tar.gz
+ source = https://files.pythonhosted.org/packages/source/e/epub/epub-0.5.2.tar.gz
md5sums = 8d983520db864e1475c33412bb09f369
pkgname = python-epub
diff --git a/PKGBUILD b/PKGBUILD
index 66e60963d66..6032591a209 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
-# Maintainer: Alad Wenter
+# Maintainer: Daniel Milde <daniel at milde dot cz>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
-
pkgbase='python-epub'
pkgname=('python-epub' 'python2-epub')
+_name=epub
pkgver=0.5.2
-pkgrel=1
+pkgrel=2
pkgdesc="Python library to open and read epub version 2 archives."
arch=('any')
url=http://pypi.python.org/pypi/epub
license=('LGPL3')
-source=(http://pypi.python.org/packages/source/e/epub/epub-$pkgver.tar.gz)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
md5sums=('8d983520db864e1475c33412bb09f369')
package_python-epub() {