pkgname=sqlite-utils pkgver=3.27 pkgrel=1 pkgdesc="CLI tool and Python utility functions for manipulating SQLite databases" arch=("any") url="https://sqlite-utils.datasette.io/" license=("Apache") depends=("python-sqlite-fts4" "python-click" "python-click-default-group" "python-tabulate") makedepends=("python-setuptools") conflicts=("sqlite-utils") source=("https://pypi.io/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") sha256sums=("49eadc3cad92bebabbac450b825be3ab5277155d31d1a1c72acef61e65e44c6a") build() { cd "${pkgname}-${pkgver}" python setup.py build } package() { cd "${pkgname}-${pkgver}" python setup.py install --root=${pkgdir} --optimize=1 install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }