blob: 92f4d62a1fb8e038d7a97eb26ca54b78c5a0b283 (
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
30
31
|
# Maintainer: Letu Ren <fantasquex at gmail dot com>
# Contributor: Sumner Evans <sumner.evans98 at gmail dot com>
pkgbase='python-pdfkit'
pkgname=('python-pdfkit')
pkgver='1.0.0'
pkgrel=1
pkgdesc='Wkhtmltopdf python wrapper to convert html to pdf '
arch=('any')
url='https://github.com/JazzCore/python-pdfkit'
license=('MIT')
depends=(
'python'
'wkhtmltopdf'
)
makedepends=('python-setuptools')
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('992f821e1e18fc8a0e701ecae24b51a2d598296a180caee0a24c0af181da02a9')
build() {
cd "${_name}-${pkgver}"
python setup.py build
}
package() {
cd "${_name}-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|