summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b68919e58b4..463ef590c05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,12 @@
# Maintainer: Vladimir Gorbunov <truedaemon@gmail.com>
-pkgbase=python-svglib
-pkgname=('python-svglib')
+pkgname=python-svglib
_name=svglib
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="A pure-Python library for reading and converting SVG files."
arch=('any')
-url="http://pypi.python.org/pypi/svglib/$pkgver"
+url="https://pypi.python.org/pypi/$_name/$pkgver"
license=('LGPL')
options=(!emptydirs)
depends=('python'
@@ -17,9 +16,14 @@ depends=('python'
'python-reportlab')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('b17d4a6352f6c25ca3718d2b66a2f1ecfcdf558b1f6646c37f5c191b655979f1')
+sha256sums=('ff01593e8c07ea462d3742e1f4141bfa261cbd4400ceb25dfb8fec3508ad0e50')
-package_python-svglib() {
+build() {
cd "${srcdir}/${_name}-${pkgver}"
- python setup.py install --root="$pkgdir/" --optimize=1
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install -O1 --skip-build --root="$pkgdir"
}