defpkgbuild(musl-legacy-error, #:pkgname, "musl-legacy-error", #:pkgver, "0.5", #:pkgrel, 1, #:pkgdesc, "GNU error reporting compatibility header for musl", #:arch, [#:any], #:url, "https://voidlinux.org/", #:license, "BSD-2-Clause", #:source, ["https://raw.githubusercontent.com/alpinelinux/aports/a7de3e63cc8015474a4feadd8bb7c0ecc097b1fa/main/musl-legacy-error/error.h"], #:sha256sums, ["557053b198c91fa31b8d8962b832024c7a185693d671731f577fee948f04ab8f"], #:package, fn() { run("install", "-Dm644", "error.h", string-append(pkgdir(), "/usr/include/error.h")) })