# Maintainer: Benedikt Bitterli <benedikt.bitterli@gmail.com>

_realname=tinyformat
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.1.0
pkgrel=1
pkgdesc="A minimal type safe printf() replacement (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
license=('boost')
url="https://github.com/c42f/tinyformat"
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/c42f/tinyformat/archive/v${pkgver}.tar.gz")
sha256sums=('7cf39fa0503a3a24ddfbbafddf1c2b332cc32b1a125fe61ea4b22dcb3b6b88c4')

package() {
  cd "${srcdir}/${_realname}-${pkgver}"
  install -Dm644 tinyformat.h "${pkgdir}${MINGW_PREFIX}/include/tinyformat.h"
}
