[arch-commits] Commit in (stb stb/trunk stb/trunk/PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Mon Jun 6 09:11:58 UTC 2022
Date: Monday, June 6, 2022 @ 09:11:58
Author: alucryd
Revision: 1224718
add stb for curaengine
Added:
stb/
stb/trunk/
stb/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Added: stb/trunk/PKGBUILD
===================================================================
--- stb/trunk/PKGBUILD (rev 0)
+++ stb/trunk/PKGBUILD 2022-06-06 09:11:58 UTC (rev 1224718)
@@ -0,0 +1,27 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Noa-Emil Nissinen <aur.satella at 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:
More information about the arch-commits
mailing list