blob: 742c718503a3b94e8f620bec8869d0730627e10e (
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
|
# Maintainer: Cameron Otsuka <cameron@otsuka.haus>
# Contributor: Cameron Otsuka <cameron@otsuka.haus>
# Contributor: NBonaparte <nbonaparte at protonmail.com>
pkgname="python-sqlite-fts4"
_name=${pkgname#python-}
pkgver="1.0.3"
pkgrel=2
pkgdesc="Custom Python functions for working with SQLite FTS4"
arch=("any")
url="https://github.com/simonw/sqlite-fts4"
license=("Apache-2.0")
depends=("python")
makedepends=("python-build" "python-installer" "python-setuptools" "python-wheel")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/simonw/sqlite-fts4/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=("SKIP")
build() {
cd "${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_name}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|