summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Poulin2024-05-11 05:12:58 -0600
committerMaxime Poulin2024-05-11 05:12:58 -0600
commita814390b6876271fe0b9d816a6e4ecda40ffdc68 (patch)
treed59cf772a1ff07a3797f250dd9c812a016c02792
parent494ebfbff39869b9fd6dae73a31c53a094f54f22 (diff)
downloadaur-a814390b6876271fe0b9d816a6e4ecda40ffdc68.tar.gz
Delete previous builds before building
When the version number changes, a new .whl file gets created and it messes with the `*.whl` expansion to find it for installation.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0f9b98dd503f..ec42577bac3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = solaar-git
pkgdesc = Linux device manager for a wide range of Logitech devices
- pkgver = 1.1.12.r3.g704a8769
+ pkgver = 1.1.13rc1.r2.gbfc06502
pkgrel = 1
url = https://pwr-solaar.github.io/Solaar/
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 78944e2d9d05..b6eb71182a6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Victor Häggqvist <aur a snilius d com>
pkgname=solaar-git
-pkgver=1.1.12.r3.g704a8769
+pkgver=1.1.13rc1.r2.gbfc06502
pkgrel=1
pkgdesc="Linux device manager for a wide range of Logitech devices"
url="https://pwr-solaar.github.io/Solaar/"
@@ -55,6 +55,7 @@ prepare() {
build() {
cd $pkgname
+ rm dist/*.whl # clean up old builds so dist/*.whl works in package
python -m build --wheel --no-isolation
}