blob: c4b28018a9d5ef6010d08bd92a16519595dc2d3a (
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
|
# Maintainer: Bet4 <0xbet4@gmail.com>
_pkgname=fastcrc
pkgname=python-$_pkgname
pkgver=0.3.0
pkgrel=1
pkgdesc="A hyper-fast Python module for computing CRC(8, 16, 32, 64) checksum"
arch=(x86_64)
url="https://github.com/overcat/fastcrc"
license=(MIT)
depends=(python)
makedepends=(
maturin
python-installer
rust
)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('4e2a75359d97a59469bbcbd77513e801d3f3666a9169629578f88012c0f2d7fe')
build() {
cd $_pkgname-$pkgver
maturin build --release --strip
}
package() {
cd $_pkgname-$pkgver
python -m installer --destdir="$pkgdir" target/wheels/*.whl
}
|