summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang, DingYuan2020-08-08 09:46:01 +0800
committerZhang, DingYuan2020-08-08 09:46:01 +0800
commitb793a1dc6f9789eca63e22e1af9eec2f80a1ebb2 (patch)
tree919803f1b4d115e6c865bb317f7d52e0776235f2
parente742a6555d402e2504ec2fdf8ca9dc3610c10aeb (diff)
downloadaur-b793a1dc6f9789eca63e22e1af9eec2f80a1ebb2.tar.gz
update
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9737880c53f1..05e229aef5c3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = deepin-desktop-schemas-git
pkgdesc = GSettings deepin desktop-wide schemas
- pkgver = 5.6.0.14
+ pkgver = 5.6.0.13.r2.g4ff5aba
pkgrel = 1
url = https://github.com/linuxdeepin/deepin-desktop-schemas
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 71dd0d4528d1..6f4723fa613b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: DingYuan Zhang <justforlxz@gmail.com>
pkgname=deepin-desktop-schemas-git
-pkgver=5.6.0.14
+pkgver=5.6.0.13.r2.g4ff5aba
pkgrel=1
pkgdesc='GSettings deepin desktop-wide schemas'
arch=('any')
@@ -18,6 +18,11 @@ source=('git://github.com/linuxdeepin/deepin-desktop-schemas'
sha512sums=('SKIP'
'be13e501baf0517da19618011219b53d633a4186840b20b24d134e5d667c4ab1b6b716c09c78faf802b32ecf3f6f6e5e2f84744a5919b28645f002739d07ea82')
+pkgver() {
+ cd deepin-desktop-schemas
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
prepare() {
export GOPATH="$srcdir/build:/usr/share/gocode"
cd deepin-desktop-schemas