summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics2018-12-02 23:29:26 +0100
committerfelics2018-12-02 23:29:26 +0100
commit77fc4641c4eef852c60ad88800ca538c5b1af15e (patch)
tree485af68735cfb9f883f84971ebe3e318081a6cad
parentea66d500ed882f9f0d0fc9e8e81e61c6716d56c8 (diff)
downloadaur-77fc4641c4eef852c60ad88800ca538c5b1af15e.tar.gz
Minor PKGBUILD tweak.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 942d77e51651..67ae5eab4710 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wwwoffle-svn
pkgdesc = Simple caching proxy server with special features (request, recursive fetch, subscription, modify HTML, ...) for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd.
pkgver = 2.9j+svn2249
- pkgrel = 1
+ pkgrel = 3
epoch = 1
url = http://www.gedanken.org.uk/software/wwwoffle/
install = wwwoffle.install
diff --git a/PKGBUILD b/PKGBUILD
index af558e99ebac..6d69f5717ce4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname="${_pkgname}-svn"
# _pkgver=2.9j
epoch=1
pkgver=2.9j+svn2249
-pkgrel=1
+pkgrel=3
pkgdesc="Simple caching proxy server with special features (request, recursive fetch, subscription, modify HTML, ...) for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd."
arch=('i686' 'x86_64' 'arm' 'arm64')
url="http://www.gedanken.org.uk/software/wwwoffle/"
@@ -132,12 +132,12 @@ prepare() {
cd "${_unpackeddir}"
- ### Update version.h to the actual version.
+ ### Update version.h to the actual version + SVNrevision
_ver="$(_pgmver)"
_rev="$(_svnrelease)"
msg2 "Updating version in src/version.h to ${_ver}+svn${_rev} ..."
sed -i 's|^\([[:space:]]*#define[[:space:]]*WWWOFFLE_VERSION[[:space:]]*\).*$|/*+ +*/\n/*+ The following line was automatically upgraded by the Arch Linux PKGBUILD (package build script) +*/\n/*+ in order to match the version as in conf/wwwoffle.conf.template and the SVN revision. +*/\n\1"'"${_ver}+svn${_rev}"'"|' \
- "${_unpackeddir}/src/version.h"
+ "${_unpackeddir}/src/version.h"
msg2 "Generating svn commit messages file ..."
svn log > "${_svnlog}"