summaryrefslogtreecommitdiff
path: root/examples/INSTALL
blob: d33accfb5460043ceb8586363dc9388b8e5fcab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "my-package"
version = "1.0.0"
arch = "X86_64"
descr = "Just example INSTALL script"
license = "BSD-2-Clause"
url = "/repo/my-package.mesk"
git_repo = "https://github.com/example/my-package.git"

[install]
path = "/usr/bin/my-package"
dependencies = ["package", "i2pd", "llvm-19-devel", "etc..."] # Leave it empty if there are no dependencies
user = "root"
group = "root"
mode = "755"

# Also [install] can be 
# path = "/usr/bin/my-package"
# user = "root"
# group = "root"
# mode = "755"
# custom_script = "./install.sh" OR 
# custom_script = """
#     echo "Installing my-package"
#     sudo apt-get install my-package
# """
# If there is a custom_script field, mesk will not automatically install your package and other fields in [install] will not be required.