From 99c72c96f5941c3c40960ad0bdac1b2faa5cfb55 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 11 Mar 2024 10:23:04 +0100 Subject: [PATCH] Added test function that will get populated later --- PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 328c9d97..83a4a0d2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -187,21 +187,22 @@ pkgver() { prepare() { cd $pkgname-$pkgver - - # use real directories for examples and profiles, as symlinks do not work - rm -fv $pkgname/{examples,profiles} } build() { cd $pkgname-$pkgver - python -m build --wheel --no-isolation PYTHONDONTWRITEBYTECODE=1 make man -C docs } package() { - cd "$pkgname-$pkgver" - + cd $pkgname-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -vDm 644 docs/_build/man/archinstall.1 -t "$pkgdir/usr/share/man/man1/" } + +check() { + cd $pkgname-$pkgver + # Once we adopt pytest or something similar, + # this is where the test call will live +} \ No newline at end of file