summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 463ef590c05baecbd6869c8889c9319913181075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Vladimir Gorbunov <truedaemon@gmail.com>

pkgname=python-svglib
_name=svglib
pkgver=1.0.1
pkgrel=1
pkgdesc="A pure-Python library for reading and converting SVG files."
arch=('any')
url="https://pypi.python.org/pypi/$_name/$pkgver"
license=('LGPL')
options=(!emptydirs)
depends=('python'
         'python-lxml'
         'python-cssselect2'
         'python-tinycss2'
         'python-reportlab')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('ff01593e8c07ea462d3742e1f4141bfa261cbd4400ceb25dfb8fec3508ad0e50')

build() {
    cd "${srcdir}/${_name}-${pkgver}"
    python setup.py build
}

package() {
    cd "${srcdir}/${_name}-${pkgver}"
    python setup.py install -O1 --skip-build --root="$pkgdir"
}