summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-12 14:50:44 +0800
committerChocobo12017-08-12 14:50:44 +0800
commite4eca04762f202d8a7937505e3d565e455657571 (patch)
tree1571d231c1596add5cee60f366d855537d030630
parent4e51d4a721de8b544d4461cb72c05ca8bebfb98c (diff)
downloadaur-e4eca04762f202d8a7937505e3d565e455657571.tar.gz
upgpkg: gflags-git 2.2.1.r2.gaa2d0f7-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0f49f3752b3..badfa253c11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gflags-git
pkgdesc = C++ Library for commandline flag processing
- pkgver = 2.2.0.r5.g30dbc81
+ pkgver = 2.2.1.r2.gaa2d0f7
pkgrel = 1
url = https://github.com/gflags/gflags
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index e7e103158c3..5c5c361dade 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=gflags-git
-pkgver=2.2.0.r5.g30dbc81
+pkgver=2.2.1.r2.gaa2d0f7
pkgrel=1
pkgdesc="C++ Library for commandline flag processing"
arch=('i686' 'x86_64')
@@ -15,16 +15,16 @@ source=("git+https://github.com/gflags/gflags.git")
sha256sums=('SKIP')
-pkgver() {
+prepare() {
cd "gflags"
- git describe --long --tags | sed 's/^[A-Za-z]*//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ mkdir -p "build"
}
-prepare() {
+pkgver() {
cd "gflags"
- mkdir -p "build"
+ git describe --long --tags | sed 's/^[A-Za-z]*//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {