Leonid Plyushch
44c6fa6109
sample subpackage.sh: TERMUX_SUBPKG_INCLUDE should be under description and dep fields
Some subpackages may have long include lists (e.g. ncurses-utils) so it worth to have
description and dependencies specified on top for better visibility.
6 years ago
Leonid Plyushch
35d4647e49
sample subpackage.sh: remove undefined variable TERMUX_SUBPKG_REVISION
It does not exist in build-package.sh. Also having this one has no point since
subpackages always have same version as main package.
6 years ago
Leonid Plyushch
4711960ae7
sample subpackage.sh: reorder variables like done for build.sh
6 years ago
Leonid Plyushch
38c40dd2b3
sample build.sh: set preferred order of config variables
Based on typical variable order in most packages.
Variables grouped into categories so it much easier to get started by just
copying sample build.sh script, filling necessary fields and removing unneeded.
6 years ago
Leonid Plyushch
00598b7e1e
sample build.sh: add notice about disallowed behaviour
Superuser privileges and modification of files outside of build directories (e.g. in $HOME) are disallowed
to prevent data loss or system breakage.
6 years ago
Leonid Plyushch
73ef61ecc0
sample subpackage.sh: some fixes
6 years ago
Leonid Plyushch
3db2040b3b
sample build.sh: more fixes
6 years ago
Leonid Plyushch
84946316a6
sample build.sh: TERMUX_PKG_SHA256 is mandatory
See sources of function 'termux_download()' build-package.sh.
6 years ago
Wetitpig
e11c1749d0
Add sample package
6 years ago