Date: Monday, June 6, 2022 @ 09:12:12 Author: alucryd Revision: 1224719
archrelease: copy trunk to community-any Added: stb/repos/ stb/repos/community-any/ stb/repos/community-any/PKGBUILD (from rev 1224718, stb/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: stb/repos/community-any/PKGBUILD (from rev 1224718, stb/trunk/PKGBUILD) =================================================================== --- repos/community-any/PKGBUILD (rev 0) +++ repos/community-any/PKGBUILD 2022-06-06 09:12:12 UTC (rev 1224719) @@ -0,0 +1,27 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Noa-Emil Nissinen <aur.sate...@spamgourmet.org> + + +pkgname=stb +pkgver=r2126.af1a5bc +pkgrel=1 +pkgdesc='Single-file public domain (or MIT licensed) libraries for C/C++' +arch=(any) +url=https://github.com/nothings/stb +license=(MIT) +makedepends=(git) +_commit=af1a5bc352164740c1cc1354942b1c6b72eacb8a +source=(git+https://github.com/nothings/stb.git#commit=${_commit}) +b2sums=(SKIP) + +pkgver() { + cd stb + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +package() { + install -Dm 644 stb/*.{c,h} -t "${pkgdir}"/usr/include/stb/ + install -Dm 644 stb/LICENSE -t "${pkgdir}"/usr/share/licenses/stb/ +} + +# vim: ts=2 sw=2 et: