#!/bin/sh # Build script for uthash (header-only, no build system - just stage headers). # NOTE: headers live under src/, not the tarball root (verified 2026-07-22). set -e cd "$SRCDIR/src" mkdir -p "$PKGDIR$PREFIX/include" cp -f *.h "$PKGDIR$PREFIX/include/" # uthash - header-only C hash table / list / array macros (picom build dep) # https://troydhanson.github.io/uthash/ [package] name = "uthash" version = "2.4.0" release = 1 description = "Header-only C macros for hash tables, lists, arrays and strings" url = "https://troydhanson.github.io/uthash/" license = "BSD-1-Clause" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = [] build = [] [[source]] file = "uthash-2.4.0.tar.gz" urls = ["https://github.com/troydhanson/uthash/archive/refs/tags/v2.4.0.tar.gz"] checksum = "387ba027946d7c64e9aa19cc53b2edcd714f8f9dca9fa8e3aaef17e0e8e3d736" [build] parallel = true