1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Lukasz Pozarlik <lpozarlik@gmail.com>
4 pkgname=python-ulid-transform
7 pkgdesc='Create and transform ULIDs'
9 url=https://github.com/bdraco/ulid-transform
25 _tag=1ae85af96687c4f3f082750fe84c49fc0d2b3901
26 source=(git+https://github.com/bdraco/ulid-transform.git#tag=${_tag})
31 git describe --tags | sed 's/^v//'
36 python -m build --wheel --no-isolation
40 python -m installer --destdir="${pkgdir}" ulid-transform/dist/*.whl
41 install -Dm 644 ulid-transform/LICENSE -t "${pkgdir}"/usr/share/licenses/python-ulid-transform/