stb: update to r2129.8b5f1f3
This commit is contained in:
@@ -3,25 +3,24 @@
|
||||
_realname=stb
|
||||
pkgbase="mingw-w64-${_realname}"
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=r1943.c9064e3
|
||||
pkgrel=2
|
||||
_commit="c9064e317699d2e495f36ba4f9ac037e88ee371a"
|
||||
pkgver=r2129.8b5f1f3
|
||||
pkgrel=1
|
||||
_commit='8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55'
|
||||
pkgdesc="single-file public domain (or MIT licensed) libraries for C/C++"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
|
||||
url="https://github.com/nothings/stb"
|
||||
license=('public domain' 'MIT')
|
||||
source=("${_realname}-${_commit}"::"git+https://github.com/nothings/${_realname}#commit=${_commit}")
|
||||
license=('spdx:Unlicense' 'spdx:MIT')
|
||||
makedepends=('git')
|
||||
source=("git+https://github.com/nothings/${_realname}#commit=${_commit}")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_realname}-${_commit}"
|
||||
cd stb
|
||||
printf "r%s.%s" "$(git rev-list --count $_commit)" "$(git rev-parse --short $_commit)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_realname}-${_commit}"
|
||||
mkdir -p ${pkgdir}${MINGW_PREFIX}/include/stb
|
||||
install *.h ${pkgdir}${MINGW_PREFIX}/include/stb
|
||||
install *.c ${pkgdir}${MINGW_PREFIX}/include/stb
|
||||
install -Dm 644 stb/*.{c,h} -t "${pkgdir}${MINGW_PREFIX}"/include/stb/
|
||||
install -Dm 644 stb/LICENSE -t "${pkgdir}${MINGW_PREFIX}"/share/licenses/stb/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user