Skip to content

Commit 891948e

Browse files
authored
Merge pull request ocaml#21767 from jonahbeckford/opam-publish-dkml-component-xx-console.0.1.1
Package dkml-component-xx-console.0.1.1
2 parents 25ec99a + d6f0d98 commit 891948e

File tree

1 file changed

+50
-0
lines changed
  • packages/dkml-component-xx-console/dkml-component-xx-console.0.1.1

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
synopsis:
3+
"Component used by the dkml-package-console Console Packager"
4+
description:
5+
"Executables needed to launch console based installers"
6+
maintainer: ["[email protected]"]
7+
authors: ["Diskuv, Inc. <[email protected]>"]
8+
license: "Apache-2.0"
9+
homepage: "https://github.com/diskuv/dkml-component-console"
10+
bug-reports: "https://github.com/diskuv/dkml-component-console/issues"
11+
dev-repo: "git+https://github.com/diskuv/dkml-component-console.git"
12+
# Components can be assembled on any "host" build machine defined in
13+
# https://github.com/diskuv/dkml-install-api/blob/5cfd7b57c79d990c76a9bdc8f8f0fa9f6fd5346f/runner/src/host_abi.ml
14+
# into a installer that will run on any end-user machine defined in
15+
# https://github.com/diskuv/dkml-install-api/blob/5cfd7b57c79d990c76a9bdc8f8f0fa9f6fd5346f/runner/src/ocaml_abi.ml
16+
available: os = "win32" | os = "linux" | os = "macos"
17+
depopts: [
18+
"dkml-install" {>= "0.1.0"}
19+
]
20+
install: [
21+
["install" "-d"
22+
"%{_:share}%/staging-files/windows_x86/bin"
23+
"%{_:share}%/staging-files/windows_x86_64/bin"]
24+
25+
# gsudo
26+
[
27+
"unzip" "-o" "-d" "%{_:share}%/staging-files/windows_x86/bin"
28+
"dl/gsudo.v1.3.0.zip"
29+
"gsudo.exe"
30+
]
31+
[
32+
"unzip" "-o" "-d" "%{_:share}%/staging-files/windows_x86_64/bin"
33+
"dl/gsudo.v1.3.0.zip"
34+
"gsudo.exe"
35+
]
36+
]
37+
extra-source "dl/gsudo.v1.3.0.zip" {
38+
src: "https://github.com/gerardog/gsudo/releases/download/v1.3.0/gsudo.v1.3.0.zip"
39+
checksum: [
40+
"sha256=cfd28467bbedf85bb05dc35f59c2e16ba8f19bd7aa555abb37cb2693a9b97855"
41+
]
42+
}
43+
url {
44+
src:
45+
"https://github.com/diskuv/dkml-component-console/archive/v0.1.1.tar.gz"
46+
checksum: [
47+
"md5=41d5651456f2d23e86ecbe80dae5b704"
48+
"sha512=f6ac15c62790bfc1e3af80c016922f194343fe697bd1f2999f491373398fd289dad4fadc58d60f4307a3789038b35240317d013a8ceb9a48ec37594d825de81b"
49+
]
50+
}

0 commit comments

Comments
 (0)