summaryrefslogtreecommitdiff
path: root/fpc-svn
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-12 11:14:13 +0200
committerErich Eckner <git@eckner.net>2021-04-12 11:14:13 +0200
commit0df7805764ce3183e73f0ab9a37098b4a34d1366 (patch)
treeef1b34b56a022dd15384900f45de00aa3a2d8290 /fpc-svn
parent8c3768b384fecf48aff8dfce27490a402ee6f0f2 (diff)
downloadarchlinuxewe-0df7805764ce3183e73f0ab9a37098b4a34d1366.tar.xz
repair pkgver() to give *currently*checked*out* version, not *newest*
Diffstat (limited to 'fpc-svn')
-rw-r--r--fpc-svn/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/fpc-svn/PKGBUILD b/fpc-svn/PKGBUILD
index d0fe42a67..901a032f5 100644
--- a/fpc-svn/PKGBUILD
+++ b/fpc-svn/PKGBUILD
@@ -15,7 +15,8 @@ pkgbase='fpc-svn'
pkgname=('fpc-svn' 'fpc-src-svn')
[[ $_build_docs -ne 0 ]] && pkgname+=('fpc-docs-svn')
pkgver=3.3.1.r49179
-_pkgver=${pkgver%.r*}
+_pkgver="${pkgver%.r*}"
+_revision="${pkgver##*.r}"
pkgrel=1
arch=('i486' 'i686' 'pentium4' 'x86_64')
url='http://www.freepascal.org/'
@@ -25,7 +26,7 @@ depends=('bash' 'ncurses' 'zlib' 'expat')
makedepends=('fpc' 'subversion')
[[ $_build_docs -ne 0 ]] && makedepends+=('texlive-core' 'texlive-htmlxml'
'texlive-latexextra' 'ghostscript')
-source=('fpcbuild::svn+http://svn.freepascal.org/svn/fpcbuild/trunk')
+source=('fpcbuild::svn+http://svn.freepascal.org/svn/fpcbuild/trunk#revision=${_revision}')
sha512sums=('SKIP')
pkgver() {