pkgname=sqlite-utils pkgver=3.25.1 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=("df695f509a136e47e5ced2d4fc10e16c76ee3a45bae8e1a91cbba2c80285cbc9") 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 }