summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052024-04-12 12:12:17 +0800
committerzxp198210052024-04-12 12:12:17 +0800
commit46459d4ff254088cab58c6aafa6b244910049a4e (patch)
tree24b12f0bacc4889a02fa34c296d8d12117f51c1e
parent4dde0cb623d4a0b5e65f8b1489ccc3c04c355da0 (diff)
downloadaur-own3d-desktop-git.tar.gz
update to 2.0.0.r2.g245f401
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f8d478742603..25a75cca62df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = own3d-desktop-git
pkgdesc = Public Development Preview of the OWN3D Desktop App
- pkgver = r5.e09e55b
+ pkgver = 2.0.0.r2.g245f401
pkgrel = 1
url = https://www.own3d.pro/
arch = any
@@ -10,7 +10,7 @@ pkgbase = own3d-desktop-git
makedepends = nodejs
makedepends = gendesk
depends = electron29
- provides = own3d-desktop=r5.e09e55b
+ provides = own3d-desktop=2.0.0
conflicts = own3d-desktop
source = own3d-desktop.git::git+https://github.com/own3d/desktop.git
source = own3d-desktop.sh
diff --git a/PKGBUILD b/PKGBUILD
index c2b94fbdb1bb..acfdca10d27a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=own3d-desktop-git
_pkgname="OWN3D Pro Desktop"
-pkgver=r5.e09e55b
+pkgver=2.0.0.r2.g245f401
_electronversion=29
pkgrel=1
pkgdesc="Public Development Preview of the OWN3D Desktop App"
@@ -27,8 +27,7 @@ sha256sums=('SKIP'
'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
pkgver() {
cd "${srcdir}/${pkgname%-git}.git"
- #git describe --long --tags --exclude='*[a-z][a-z]*' | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags --exclude='*[a-z][a-z]*' | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
sed -e "s|@electronversion@|${_electronversion}|" \