summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd9011d94e1d..b8b4ed0e11c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hbdbus-git
pkgdesc = The data bus for HybridOS based on HVML PurC.
pkgver = 2.0.0.r9.g9ed58d4
- pkgrel = 1
+ pkgrel = 4
url = https://github.com/HybridOS2/HBDBus
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index ca9aa03124b2..14ba7e5be257 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=hbdbus-git
pkgname=hbdbus-git
pkgver=2.0.0.r9.g9ed58d4
-pkgrel=1
+pkgrel=4
pkgdesc="The data bus for HybridOS based on HVML PurC."
arch=(x86_64
aarch64
@@ -35,6 +35,11 @@ pkgver() {
git describe --long --tags | sed 's/ver.//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare()
+{
+ git -C "${srcdir}/${pkgname%-git}" clean -dfx
+}
+
build() {
cd "${srcdir}/${pkgname%-git}"