| 1 | defpkgbuild(bsd-compat-headers, |
| 2 | #:pkgname, "bsd-compat-headers", |
| 3 | #:pkgver, "0.7.2", |
| 4 | #:pkgrel, 1, |
| 5 | #:pkgdesc, "BSD queue, tree and system declaration headers", |
| 6 | #:arch, [#:any], |
| 7 | #:url, "https://gitlab.alpinelinux.org/alpine/aports", |
| 8 | #:license, "BSD-2-Clause AND BSD-3-Clause", |
| 9 | #:source, ["https://raw.githubusercontent.com/alpinelinux/aports/a7de3e63cc8015474a4feadd8bb7c0ecc097b1fa/main/bsd-compat-headers/cdefs.h", |
| 10 | "https://raw.githubusercontent.com/alpinelinux/aports/a7de3e63cc8015474a4feadd8bb7c0ecc097b1fa/main/bsd-compat-headers/queue.h", |
| 11 | "https://raw.githubusercontent.com/alpinelinux/aports/a7de3e63cc8015474a4feadd8bb7c0ecc097b1fa/main/bsd-compat-headers/tree.h"], |
| 12 | #:sha256sums, ["15b1dd86710a4c5fc0654dbd871965b227474eb7f54531eebafffe8c1061f10e", |
| 13 | "c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b", |
| 14 | "e0ea17940260f9c1fdd2d35f74eec141d21f09844eaea91131993cb950901a16"], |
| 15 | #:package, fn() { |
| 16 | for-each(fn(file) { |
| 17 | run("install", "-Dm644", file, string-append(pkgdir(), "/usr/include/sys/", file)) |
| 18 | }, list("cdefs.h", "queue.h", "tree.h")) |
| 19 | }) |
| 20 | |