summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 583635ac94f4138bcadfcd7302ab2261c02696a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
_pkgname=sqlite-fts4
pkgname=python-${_pkgname}
pkgver=1.0.1
pkgrel=1
pkgdesc="Python functions for working with SQLite FTS4 search"
arch=("any")
url="https://github.com/simonw/sqlite-fts4"
license=("Apache")
makedepends=("python-setuptools")
source=("https://pypi.io/packages/source/s/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=("b2d4f536a28181dc4ced293b602282dd982cc04f506cf3fc491d18b824c2f613")

build() {
    cd "${_pkgname}-${pkgver}"
    python setup.py build
}

package() {
    cd "${_pkgname}-${pkgver}"
    python setup.py install --root=${pkgdir} --optimize=1
}