summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0edc9403f6d0b15a3673fe285141ee65f1c53b65 (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
# Contributor: RcrdBrt
# Contributor: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>

pkgname=python-pysqlcipher3
_pkgname=${pkgname#python-}
pkgver=1.0.3
pkgrel=2
pkgdesc='Python 3 bindings for SQLCipher (project no longer maintained. Vulnerabilities may exist)'
arch=('any')
url='https://github.com/rigglemania/pysqlcipher3'
depends=('python' 'sqlcipher')
makedepends=('python-setuptools')
license=('ZLIB')
source=("https://files.pythonhosted.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('694e5bbb6ece8a064bd55f261e54b9ffbb3af1784afdc4dce4948a0251a8a430')

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

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