summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6b01fd1b71fa42dec2cbba77f3c48560d174754 (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
pkgbase=('python-pysqlcipher3')
pkgname=('python-pysqlcipher3')
_module='pysqlcipher3'
pkgver='1.0.3'
pkgrel=1
pkgdesc="DB-API 2.0 interface for SQLCIPHER 3.x"
url="https://github.com/rigglemania/pysqlcipher3"
depends=('python')
makedepends=('python-setuptools')
license=('ZLIB')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/p/pysqlcipher3/pysqlcipher3-${pkgver}.tar.gz")
md5sums=('636368cab1f64db3572255b10e3cb9e3')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}