-
-
Save michaellass/f1c6cecb7b6fa833610a18c4477540bb to your computer and use it in GitHub Desktop.
Updated PKGBUILD for pycrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Alesh Slovak <aleshslovak@gmail.com> | |
# Contributor: Fabio 'Lolix' Loli <lolix@disroot.org> | |
# Contributor: Niels Martignène <niels.martignene@gmail.com> | |
# Contributor: Michael Lass <bevan@bi-co.net> | |
pkgname=pycrc | |
pkgver=0.10.0 | |
pkgrel=1 | |
pkgdesc="Free, easy to use Cyclic Redundancy Check (CRC) calculator and C source code generator" | |
arch=(any) | |
url="https://pycrc.org" | |
license=('MIT') | |
depends=(python) | |
makedepends=(python-build python-installer python-wheel) | |
source=("https://pycrc.org/download/pycrc-${pkgver}.tar.gz") | |
sha256sums=('bf3b414dde3f5c1c2b331ba300a5550da5ba280b1611bc7c0ccf9780499fc041') | |
build() { | |
cd "$pkgname-$pkgver" | |
python -m build --wheel --no-isolation | |
} | |
package() { | |
cd "$pkgname-$pkgver" | |
python -m installer --destdir="$pkgdir" dist/*.whl | |
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment