summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonas Platte2015-07-22 21:30:15 +0200
committerJonas Platte2015-07-22 21:30:15 +0200
commit86a52ca39394f098e66d998eb3d029dc0513e31b (patch)
treeb05156ab4ceb6a0675105c05e5769b2608c188ab /PKGBUILD
parentfd992a2a3d4e4bd499af9f5d73faeb02ab3bf0e0 (diff)
downloadaur-cxxtools-git.tar.gz
Fixed version starting with 'V'
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0f239e2d664..56fdc96eceb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jonas Platte <aur@jonasplatte.de>
pkgname=cxxtools-git
-pkgver=V2.3rc1.r4.ge0ddfff
+pkgver=2.3rc1.r4.ge0ddfff
pkgrel=1
pkgdesc="A collection of general-purpose C++ classes"
arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --long | sed 's/-/.r/;s/-/./'
+ git describe --long | sed 's/^V//' | sed 's/-/.r/;s/-/./'
}
build() {