aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-12-18 18:55:27 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:45 +0200
commit71572b7049f247ea568141ffa0d76d8623f48b10 (patch)
tree57e8fb32c08a89bb8c99e58c87f002be81808b16
parent9fb25b8afc402ad6406901eac7fcb93085a3a8cf (diff)
downloadpkgbuilds-71572b7049f247ea568141ffa0d76d8623f48b10.tar.xz
qutebrowser-git: use proper pkgver function
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e55d3b8..6f2e629 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@
# Mon Jun 1 15:01:12 UTC 2015
pkgbase = qutebrowser-git
pkgdesc = A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit
- pkgver = r3206.3622f35
- pkgrel = 4
+ pkgver = 0.1.r37.g410d78c
+ pkgrel = 1
url = http://www.qutebrowser.org/
install = qutebrowser-git.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 9b7a739..97fe499 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=qutebrowser-git
-pkgver=r3206.3622f35
-pkgrel=4
+pkgver=0.1.r37.g410d78c
+pkgrel=1
pkgdesc="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit"
url="http://www.qutebrowser.org/"
@@ -32,8 +32,8 @@ sha256sums=('SKIP'
install=qutebrowser-git.install
pkgver() {
- cd "$srcdir/qutebrowser"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd qutebrowser
+ git describe --always | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {