summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Rauter2018-02-21 16:05:32 +0100
committerGabriel Rauter2018-02-21 16:05:32 +0100
commita61167202184479077b7c27faf082dd2d1fc06e8 (patch)
tree48307bd55e9f265b6b5e39ead961fe47f1cbe3a9
parent611c2e90bbafbbbabd02b4e5be43f060ce507e4a (diff)
downloadaur-a61167202184479077b7c27faf082dd2d1fc06e8.tar.gz
fix pkgver to remove 'v' from version string
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6234ee0b5a41..54f9be33e44b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnome-usage
pkgdesc = A nice way to view information about use of system resources
pkgver = 3.27.90
- pkgrel = 1
+ pkgrel = 2
url = https://wiki.gnome.org/Apps/Usage
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 9a7eae41f9cf..ae8377beb0b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=gnome-usage
pkgver=3.27.90
-pkgrel=1
+pkgrel=2
pkgdesc="A nice way to view information about use of system resources"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://wiki.gnome.org/Apps/Usage"
@@ -17,7 +17,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
- git describe --tags | sed 's/-/+/g'
+ git describe --tags | sed 's/-/+/g;s/^v//'
}
build() {