| 1 | ; tools/keyring.py prepares this recipe using the distributor's public certificate. |
| 2 | defpkgbuild(vinix-keyring, |
| 3 | #:pkgname, "vinix-keyring", |
| 4 | #:pkgver, "@VERSION@", |
| 5 | #:pkgrel, 1, |
| 6 | #:pkgdesc, "Public certificate used to verify the Vinix package repository", |
| 7 | #:arch, [#:any], |
| 8 | #:url, "https://github.com/vlang/vinix", |
| 9 | #:license, "0BSD", |
| 10 | #:source, ["vinix.gpg", "vinix.fingerprint"], |
| 11 | #:sha256sums, ["@PUBLIC_SHA256@", "@FINGERPRINT_SHA256@"], |
| 12 | #:package, fn() { |
| 13 | for-each(fn(file) { |
| 14 | run("install", "-Dm644", file, string-append(pkgdir(), "/usr/share/vpac/keyrings/", file)) |
| 15 | }, list("vinix.gpg", "vinix.fingerprint")) |
| 16 | }) |
| 17 | |