summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 31ae219035bc6024bf5ee4a472df6e2c0deeff06 (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
# Maintainer: Vinicius Correa <vinicius dot correa at zoho dot com>
_pkgname=PyKCS11
pkgname=python-pykcs11
pkgver=1.5.5
pkgrel=1
pkgdesc="PKCS#11 wrapper for Python."
arch=('any')
url="https://github.com/LudovicRousseau/${_pkgname}"
license=('GPL')
depends=('python' 'swig')
optdepends=()
conflicts=()
source=("https://github.com/LudovicRousseau/${_pkgname}/archive/${pkgver}.tar.gz")
md5sums=('7ad2bc49e4a122b7118494e04251b999')

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

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