summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics@felics-tablet2016-05-21 10:51:43 +0200
committerfelics@felics-tablet2016-05-21 10:51:43 +0200
commit58a2d6a9d7a68141149cf25e6b93b163e3dbc9f1 (patch)
treedd443bbe12a455c0448db299e4cb7ab3ecd29d26
parent209f2961d8e166e34aa807338ed5285a1b837598 (diff)
downloadaur-58a2d6a9d7a68141149cf25e6b93b163e3dbc9f1.tar.gz
Reflecting a patch in the pkgver.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fa8f2eed740..78818f06394 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bdelta-git
pkgdesc = A tool to create diffs of binary files. A sophisticated sequence matching library bundled with a delta creator and patch tool.
- pkgver = 0.3.1.d20130130.rg53e49e1
+ pkgver = 0.3.1.d20130130.rg53e49e1.fefefilesize
pkgrel = 1
url = https://github.com/jjwhitney/BDelta
arch = i686
@@ -9,7 +9,7 @@ pkgbase = bdelta-git
license = MPL
makedepends = git
makedepends = python2
- provides = bdelta=0.3.1.d20130130.rg53e49e1
+ provides = bdelta=0.3.1.d20130130.rg53e49e1.fefefilesize
conflicts = bdelta
source = bdelta::git+https://github.com/jjwhitney/BDelta.git
source = fefe-filesize-patch.patch::https://ptrace.fefe.de/bdelta.diff
diff --git a/PKGBUILD b/PKGBUILD
index 7033f9bd64a..dfebfee3823 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname='bdelta'
pkgname="${_pkgname}-git"
-pkgver=0.3.1.d20130130.rg53e49e1
+pkgver=0.3.1.d20130130.rg53e49e1.fefefilesize
pkgrel=1
pkgdesc="A tool to create diffs of binary files. A sophisticated sequence matching library bundled with a delta creator and patch tool."
url='https://github.com/jjwhitney/BDelta'
@@ -52,6 +52,8 @@ pkgver() {
_rev="$(git describe --long | cut -d- -f3)"
_date="$(git log -n 1 --pretty=format:%ci | cut -d' ' -f1 | tr -d '-')"
+ _extraver=".fefefilesize"
+
if [ -z "${_ver}" ]; then
echo "$0: Error: Could not determine version." > /dev/stderr
false
@@ -64,7 +66,7 @@ pkgver() {
return 1
fi
- echo "${_ver}.d${_date}.r${_rev}"
+ echo "${_ver}.d${_date}.r${_rev}${_extraver}"
}
prepare() {