Commit Graph

9 Commits

Author SHA1 Message Date
Leonid Pliushch
34710febc5 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.
2019-02-15 18:00:24 +02:00
Leonid Pliushch
58f50041e1 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.
2019-02-15 18:00:24 +02:00
Leonid Pliushch
b7e7e05147 sample subpackage.sh: reorder variables like done for build.sh 2019-02-15 18:00:24 +02:00
Leonid Pliushch
4cc9f8fb43 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.
2019-02-15 18:00:24 +02:00
Leonid Pliushch
4702001dcc 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.
2019-02-15 18:00:24 +02:00
Leonid Pliushch
506522db8f sample subpackage.sh: some fixes 2019-02-15 18:00:24 +02:00
Leonid Pliushch
99576fe421 sample build.sh: more fixes 2019-02-15 18:00:24 +02:00
Leonid Pliushch
25c5118cda sample build.sh: TERMUX_PKG_SHA256 is mandatory
See sources of function 'termux_download()' build-package.sh.
2019-02-15 18:00:24 +02:00
Wetitpig
fea59181da Add sample package 2019-02-15 18:00:24 +02:00