Commit Graph

33 Commits

Author SHA1 Message Date
Henrik Grimler d30227669f build-package: mv code for creating subpackages to new file 2019-03-07 20:35:32 +01:00
Leonid Pliushch 4d3dc0357d BUILD.md: review and fix basic build steps explanation
Also make sure that steps are in same order as in build-package.sh
2019-02-17 20:43:00 +02:00
Leonid Pliushch aa6570cda9 BUILD.md: specify common files where build instructions usually provided 2019-02-15 18:00:24 +02:00
Leonid Pliushch b3f1cc6885 BUILD.md: remove duplicated step
Step 9 was a duplicate of step 2 (creating subpackages).
2019-02-15 18:00:24 +02:00
Leonid Pliushch 6f1a5e3411 BUILD.md: fix typo
We need to repeat 4-6 steps to obtain patches instead of 2-4.
2019-02-15 18:00:24 +02:00
Leonid Pliushch 094ea43421 BUILD.md: add some notes about Android 8+ problems to "Common Porting Problems" section 2019-02-15 18:00:24 +02:00
Leonid Pliushch 454742bf4a BUILD.md: fix typos 2019-02-15 18:00:24 +02:00
Leonid Pliushch f3a395c68b BUILD.md: mention Termux's FHS problem
Termux is not FHS-compliant.
2019-02-15 18:00:24 +02:00
Leonid Pliushch a13773a2a7 FORMAT.md: mention that only special characters should be escaped in Markdown
Only characters that have special meaning in Markdown should be escaped.
2019-02-15 18:00:24 +02:00
Leonid Pliushch 25cb9fbd31 FORMAT.md: improve "coding practices" 2019-02-15 18:00:24 +02:00
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
Wetitpig 5d5cb09c36 Add Windows Instructions 2019-02-15 18:00:24 +02:00
Wetitpig 431df01f2a Capitalisation seems awkward 2019-02-15 18:00:24 +02:00
Wetitpig 7f258aea31 Add more coding practices 2019-02-15 18:00:24 +02:00
Leonid Pliushch bb12824cb9 FORMAT.md: recommendations about comments and encoding 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 1aa269456e UTILITIES.md: small fixes 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
Leonid Pliushch 63eff4e678 BUILD.md: fix function names in the table
Function names should be exactly same as in build-package.sh
2019-02-15 18:00:24 +02:00
Leonid Pliushch cbb9c42d20 BUILD.md: little fix to the "Basics" section 2019-02-15 18:00:24 +02:00
Leonid Pliushch ff8d571378 BUILD.md: remove leading tabs in code snippets
There no reason to have lead tabs in code snippets.
Leading tabs also make reading a bit harder on mobile devices.
2019-02-15 18:00:24 +02:00
Leonid Pliushch 4fdfc951cb DOCKER.md: remove leading tabs from code snippets
There no reason to have lead tabs in code snippets.
Leading tabs also make reading a bit harder on mobile devices.
2019-02-15 18:00:24 +02:00
Wetitpig 6818cc4a0e Separate Additional Resources 2019-02-15 18:00:24 +02:00
Wetitpig 27a8a9bf88 Formatting Guidelines 2019-02-15 18:00:24 +02:00
Wetitpig c779c69070 Docker Docs 2019-02-15 18:00:24 +02:00
Wetitpig 56fe3f79a2 Build Docs 2019-02-15 18:00:24 +02:00
Wetitpig b779402441 Additional Utilities List 2019-02-15 18:00:24 +02:00
Wetitpig fea59181da Add sample package 2019-02-15 18:00:24 +02:00