upgpkg: libcrossguid-git 0.2.2.r52.gca1bf4b-2
fix build with gcc13+
This commit is contained in:
parent
63236be0ad
commit
edf9340ecc
2 changed files with 14 additions and 3 deletions
|
@ -11,6 +11,8 @@ pkgbase = libcrossguid-git
|
|||
provides = libcrossguid
|
||||
conflicts = libcrossguid
|
||||
source = libcrossguid::git+https://github.com/graeme-hill/crossguid.git
|
||||
md5sums = SKIP
|
||||
source = cstdint.diff::https://github.com/graeme-hill/crossguid/pull/67.diff
|
||||
sha256sums = SKIP
|
||||
sha256sums = 17f3cb3951be4e04e53d3a1005339663b98053928715bf216512a01c2fa7e9e9
|
||||
|
||||
pkgname = libcrossguid-git
|
||||
|
|
|
@ -10,14 +10,23 @@ license=('MIT')
|
|||
makedepends=('git' 'cmake')
|
||||
provides=('libcrossguid')
|
||||
conflicts=('libcrossguid')
|
||||
source=('libcrossguid::git+https://github.com/graeme-hill/crossguid.git')
|
||||
md5sums=('SKIP')
|
||||
source=(
|
||||
'libcrossguid::git+https://github.com/graeme-hill/crossguid.git'
|
||||
'cstdint.diff::https://github.com/graeme-hill/crossguid/pull/67.diff'
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'17f3cb3951be4e04e53d3a1005339663b98053928715bf216512a01c2fa7e9e9')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir"/libcrossguid
|
||||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"/libcrossguid
|
||||
patch -p1 < ../cstdint.diff
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/libcrossguid
|
||||
cmake .
|
||||
|
|
Loading…
Reference in a new issue