# Maintainer: Matthew Gamble pkgname=python-webpagecache pkgver=1.0.1 pkgrel=4 pkgdesc="A utility class for downloading webpages and storing them in an SQLite3 database as a cache." arch=("any") url="https://github.com/djmattyg007/python-webpagecache" license=("Unlicense") depends=("python" "python-requests" "python-wire") makedepends=("python-setuptools") source=("https://github.com/djmattyg007/python-webpagecache/archive/${pkgver}.tar.gz") sha256sums=("b1dd14eb05ff22d4ddf3a0790d14250537db78ae181812ab05491f637df5af7c") build() { cd "python-webpagecache-${pkgver}" python setup.py build } package() { cd "python-webpagecache-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-webpagecache/LICENSE.txt" install -Dm644 REMADE.txt "${pkgdir}/usr/share/doc/python-webpagecache/README.txt" }