This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.manifest
60 lines (51 loc) · 1.77 KB
/
example.manifest
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Example manifest file for masspkg.
# Comments (lines beginning with a hash) are ignored.
# The package name. May only contain alphanumeric characters and dashes.
pkgname="example"
# The package version. It is recommended to keep the version formatting used by
# the upstream package, unless you have a specific reason to change it.
pkgver="1.0.0"
# Short description of the package. Should ideally be less than 60 characters.
description="Example program for demonstrating masspkg manifest syntax."
# Package dependencies. Each dependency should be separated with a space. If
# the package has no dependencies, leave it blank or omit the line entirely.
# Dependencies which are already installed as part of the MassOS system will be
# ignored by masspkg.
deps="bash glibc"
# CPU architecture (uname -m) which the package is compiled for. If the package
# can run on any architecture, use 'any'.
arch="x86_64"
# The home page or project page of the upstream package.
homepage="https://github.com/TheSonicMaster/MassOS"
# Your full name and email address.
maintainer="John Smith <john@example.org>"
# The license which the software uses. Should use the SPDX indentifier. See
# <https://spdx.org/licenses/> for more information. Use 'custom' if the
# package is proprietary, or 'unknown' if the license is not known.
license="GPL-3.0-or-later"
# Additional tasks to perform before or after the installation, removal or
# upgrade of the package. Omit any (or all) of these if they are not needed.
pre_install() {
some_command
another_command
}
post_install() {
some_command
another_command
}
pre_remove() {
some_command
another_command
}
post_remove() {
some_command
another_command
}
pre_upgrade() {
some_command
another_command
}
post_upgrade() {
some_command
another_command
}