Date: Saturday, May 6, 2023 @ 20:25:25 Author: tpkessler Revision: 1459131
Move from AUR to community Added: python-barectf/ python-barectf/repos/ python-barectf/trunk/ python-barectf/trunk/PKGBUILD ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Added: python-barectf/trunk/PKGBUILD =================================================================== --- python-barectf/trunk/PKGBUILD (rev 0) +++ python-barectf/trunk/PKGBUILD 2023-05-06 20:25:25 UTC (rev 1459131) @@ -0,0 +1,26 @@ +# Maintainer: Torsten Keßler <tpkessler at archlinux dot org> +# Contributor: Philippe Proulx <[email protected]> +_pkgname=barectf +pkgname=python-barectf +pkgver=3.1.1 +pkgrel=1 +pkgdesc='Generator of ANSI C tracers which output CTF' +arch=('any') +url='http://barectf.org' +license=('MIT') +depends=('python-termcolor' 'python-yaml' 'python-jsonschema' 'python-jinja') +makedepends=('python-poetry-core' 'python-build' 'python-installer' 'python-wheel') +source=("https://github.com/efficios/barectf/archive/v$pkgver.tar.gz") +sha256sums=('42b93222ee12dc25b012a374c40020f5817e0e71c50118814a956737297195d7') + +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" +}
