Alpine build tools
Go to file
Oliver Smith 635a699365 newapkbuild: fix empty function regression
Since the obsolete 'cd "$builddir"' statements have been removed in [1],
build(), check() and package() can generate empty functions if no build
system is specified or if there is no default for the given build
system. newapkbuild will then fail, as it tries to parse the script it
generated:

$ cd /home/pmos && newapkbuild test
/usr/bin/abuild: /home/pmos/test/APKBUILD: line 18: syntax error: unexpected "}"
$ cat test/APKBUILD
...
build() {
}
...

Fix this by placing ":" in functions that would be empty.

[1]: f83d19ce79
2019-06-12 12:18:59 +00:00
.devbuildrc add a .devbuildrc for abuild subproject itself 2009-01-15 16:11:19 +00:00
.editorconfig add .editorconfig and fix code formatting 2016-08-20 16:16:37 +02:00
.gitignore git: ignore abuild-rmtemp executable 2017-09-19 12:02:57 +00:00
abuild-fetch.c abuild-fetch: enable curl certificate verification 2019-04-29 18:31:58 +00:00
abuild-gzsplit.c abuild-gzsplit: new tool to split .apk to it's base components 2017-01-10 14:16:16 +02:00
abuild-keygen.in replace deprecated ... syntax with $(...) in shell scripts 2016-08-23 00:09:07 +02:00
abuild-rmtemp.c abuild-rmtemp: Do not follow symbolic links 2018-10-11 17:46:45 +02:00
abuild-sign.in abuild-sign: actually catch errors while signing 2019-03-05 11:42:15 +00:00
abuild-sudo.c abuild-sudo: remove unused variable 2019-03-14 15:46:11 +01:00
abuild-tar.c abuild-tar: improve portability 2016-05-20 10:19:08 +02:00
abuild.conf abuild: build in chroot 2017-06-27 14:52:50 +03:00
abuild.in abuild: fix -openrc to work with multiple subpackages 2019-05-03 18:35:44 +02:00
abump.in replace deprecated ... syntax with $(...) in shell scripts 2016-08-23 00:09:07 +02:00
apkbuild-cpan.in apkbuild-cpan.in: Update licenses to spdx format and remove redundant directory change 2019-04-29 18:32:46 +00:00
apkbuild-gem-resolver.in add .editorconfig and fix code formatting 2016-08-20 16:16:37 +02:00
apkbuild-pypi.in apkbuild-pypi.in: modernize 2017-09-19 11:59:18 +00:00
APKBUILD.5 APKBUILD.5: sort depends_* descriptions 2019-04-29 18:30:55 +00:00
apkgrel.in replace deprecated ... syntax with $(...) in shell scripts 2016-08-23 00:09:07 +02:00
bootchartd replace deprecated ... syntax with $(...) in shell scripts 2016-08-23 00:09:07 +02:00
buildlab.in buildlab: replace echos in usage with heredoc 2016-08-23 00:09:07 +02:00
checkapk.in checkapk: remove temporary dir on SIGINT and exit 2018-10-03 10:52:13 +00:00
config.guess abuild: add update_config_guess 2016-08-12 15:26:06 +02:00
config.sub abuild: add update_config_guess 2016-08-12 15:26:06 +02:00
functions.sh.in functions: adjust armhf triplet 2019-04-29 18:19:25 +00:00
Makefile ==== release 3.4.0_rc4 ==== 2019-05-03 19:01:19 +02:00
newapkbuild.1 newapkbuild.1: fix mdoc style 2018-10-03 08:24:18 +00:00
newapkbuild.in newapkbuild: fix empty function regression 2019-06-12 12:18:59 +00:00
sample.APKBUILD sample.APKBUILD: use https for sourceforge download links 2018-09-24 21:43:49 +02:00
sample.confd sample: use lowercase in init.d/conf.d sample files 2009-12-30 08:55:33 +00:00
sample.initd sample.initd: modernize 2016-06-13 12:34:05 +00:00
sample.post-install abuild: fixes for new install scripts 2009-03-06 17:51:53 +00:00
sample.pre-install abuild: fixes for new install scripts 2009-03-06 17:51:53 +00:00