From 536bdd6b59dbd2b3b42cb0ef50b3ef8e4c331516 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 29 Jan 2021 15:13:50 +0100 Subject: [PATCH] cppcoro: fixups --- {mingw64-w64-cppcoro => mingw-w64-cppcoro}/PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename {mingw64-w64-cppcoro => mingw-w64-cppcoro}/PKGBUILD (78%) diff --git a/mingw64-w64-cppcoro/PKGBUILD b/mingw-w64-cppcoro/PKGBUILD similarity index 78% rename from mingw64-w64-cppcoro/PKGBUILD rename to mingw-w64-cppcoro/PKGBUILD index 29b3d435681f2..99cf9b3ab214f 100644 --- a/mingw64-w64-cppcoro/PKGBUILD +++ b/mingw-w64-cppcoro/PKGBUILD @@ -2,22 +2,22 @@ _realname=cppcoro pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=r385.69e5754 +pkgver=r390.a87e97f pkgrel=1 pkgdesc=" A library of C++ coroutine abstractions for the coroutines TS (mingw-w64)" arch=('any') license=("MIT") url="https://github.com/lewissbaker/cppcoro" makedepends=('git') - _commit='a87e97f' -source=("${_realname}::https://github.com/lewissbaker/${_realname}.git#commit=${_commit}") -md5sums=('SKIP') +source=("${_realname}::git+https://github.com/lewissbaker/${_realname}.git#commit=${_commit}") +sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_realname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "r%s.%s" "$(git rev-list --count "${_commit}")" "$(git rev-parse --short "${_commit}")" } + build(){ # replace all std::experimental with std function scan_dir(){