firebird2-git: pin commit

This commit is contained in:
Christoph Reiter
2021-04-05 19:41:30 +02:00
parent 78c2e6101e
commit fa286cdce9

View File

@@ -4,8 +4,8 @@
_realname=firebird
pkgbase=mingw-w64-${_realname}2-git
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}2-git"
pkgver=2.5.9.27149.9f6840e90c
pkgrel=3
pkgver=2.5.9.27152.74a4ec5c50
pkgrel=1
pkgdesc="Cross-platform relational database offering many ANSI SQL standard features - version 2.x (mingw-w64)"
url="https://www.firebirdsql.org/"
license=('custom')
@@ -22,8 +22,9 @@ makedepends=(#"${MINGW_PACKAGE_PREFIX}-btyacc" # Maybe add check in firebird pre
"${MINGW_PACKAGE_PREFIX}-libatomic_ops"
"${MINGW_PACKAGE_PREFIX}-pkg-config"
"git")
_commit="74a4ec5c50f6906c01a3a8cfbfc56361469cd9fa"
options=('!debug' 'strip') # '!debug' is causing error in running create_db.exe empty.fdb during build.
source=("${_realname}"::"git+https://github.com/FirebirdSQL/firebird.git#branch=B2_5_Release"
source=("${_realname}"::"git+https://github.com/FirebirdSQL/firebird.git#commit=${_commit}"
0001-Remove-hardcoded-march-to-allow-64-bit-builds.patch
0002-Always-use-Win32-threads-for-mingw.patch
0003-Define-AMD64-for-64-bit-mingw.patch
@@ -60,7 +61,7 @@ source=("${_realname}"::"git+https://github.com/FirebirdSQL/firebird.git#branch=
pkgver() {
cd "${_realname}"
source ${srcdir}/${_realname}/src/misc/writeBuildNum.sh
printf '%s.%s.%s.%s.%s' ${MajorVer} ${MinorVer} ${RevNo} ${BuildNum} "$(git rev-parse --short HEAD)"
printf '%s.%s.%s.%s.%s' ${MajorVer} ${MinorVer} ${RevNo} ${BuildNum} "$(git rev-parse --short "${_commit}")"
}
prepare() {