summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorayalhw2020-01-07 15:28:07 +0800
committerayalhw2020-01-07 15:28:07 +0800
commitcb8596553dae91654088b394159a18b6f2845194 (patch)
tree6e67c9ed28ea1b9fffbadccb547df679aff5b1fa
parent2b00b9eb09ddfb1435cd1ec5905332555c6c6821 (diff)
downloadaur-cb8596553dae91654088b394159a18b6f2845194.tar.gz
Fixed Bug
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4a48ce2495c8..6fb6223d19ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = yt-popball-git
pkgdesc = A PopBall
- pkgver = 0.1.1
+ pkgver = 0.1.r0.gc77fe52
pkgrel = 1
url = https://github.com/yt-theme/popBall
arch = x86_64
@@ -9,7 +9,7 @@ pkgbase = yt-popball-git
depends = qt5-base
provides = yt-popball
conflicts = yt-popball
- source = yt-popball::git+https://github.com/yt-theme/popBall
+ source = yt-popball::git+https://github.com/yt-theme/popBall.git
md5sums = SKIP
pkgname = yt-popball-git
diff --git a/PKGBUILD b/PKGBUILD
index ac2d0f3239ae..78fd2528202c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: TransistorLogic <liuhongwu2003@outlook.com>
pkgname=yt-popball-git
-pkgver=0.1.1
+pkgver=0.1.r0.gc77fe52
pkgrel=1
pkgdesc="A PopBall"
arch=(x86_64)
@@ -17,15 +17,15 @@ replaces=()
backup=()
options=()
install=
-source=('yt-popball::git+https://github.com/yt-theme/popBall')
+source=('yt-popball::git+https://github.com/yt-theme/popBall.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/yt-popball"
-
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
# Git, tags available
- printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+# printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
# Git, no tags available
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"