summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e7b1ed2d3fc036e2a6cb9c525e5544fead610a62 (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
26
27
28
29
30
31
# Maintainer: Thibaud Kehler <thibaud dot kehler at gmx dot net>
# Maintainer: GI_Jack <GI_Jack@hackermail.com>

pkgname=python-unicrypto
_pkgname=unicrypto
pkgver=0.0.10
pkgrel=1
pkgdesc="Unified interface for cryptographic libraries."
url="https://github.com/skelsec/unicrypto"
arch=('any')
license=('MIT')
depends=('python' 'python-pycryptodomex')
makedepends=(
  'python-build'
  'python-installer'
  'python-wheel'
  'python-setuptools'
)
source=("https://github.com/skelsec/${_pkgname}/archive/refs/tags/${pkgver}.zip") 
sha256sums=('1778e9c41ff0c372da816f6d9592991faf5ae331a2e9a2b5e389c58844a4974c')

build() {
  cd ${_pkgname}-${pkgver}
  rm -rf tests
  python -m build --wheel --no-isolation
}

package() {
  cd ${_pkgname}-${pkgver}
  python -m installer --destdir="${pkgdir}" dist/*.whl
}