summaryrefslogtreecommitdiff
path: root/packaging/arch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/arch/PKGBUILD')
-rw-r--r--packaging/arch/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD
index 586b330..395f1cd 100644
--- a/packaging/arch/PKGBUILD
+++ b/packaging/arch/PKGBUILD
@@ -26,9 +26,13 @@ makedepends=(
optdepends=(
'transcribe-cli: Parakeet transcription runtime (may also be installed manually)'
)
-source=("$pkgname::git+$url.git#tag=v$pkgver")
+source=("$pkgname::git+$url.git#branch=main")
sha256sums=('SKIP')
+prepare() {
+ git -C "$srcdir/$pkgname" clean -dfx
+}
+
build() {
cd "$srcdir/$pkgname"
python -m build --wheel --no-isolation