vinix-ports / vinix-keyring / PKGBUILD.vile.in
16 lines · 16 sloc · 645 bytes · 7dda64bca70f9c3f942ea0bbfa30d9a7880be413
Raw
1; tools/keyring.py prepares this recipe using the distributor's public certificate.
2defpkgbuild(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