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