diff options
| -rwxr-xr-x | apkg-genabuild | 7 | ||||
| -rw-r--r-- | man/apkg-genabuild.8 | 13 |
2 files changed, 19 insertions, 1 deletions
diff --git a/apkg-genabuild b/apkg-genabuild index 1882ec7..9ac9e2e 100755 --- a/apkg-genabuild +++ b/apkg-genabuild @@ -60,6 +60,13 @@ version=$version release=1 source=\"$url\"" > $name/abuild +cat > $name/info << EOF +description: +homepage: +license: +maintainer: name <name at mail dot com> +EOF + cat $name/abuild exit 0 diff --git a/man/apkg-genabuild.8 b/man/apkg-genabuild.8 index 69124b7..54c5ef6 100644 --- a/man/apkg-genabuild.8 +++ b/man/apkg-genabuild.8 @@ -17,7 +17,18 @@ CPAN/Perl packages, which get the appropriate prefix (\fIpython-\fR or \fIperl-\ .SH OUTPUT .LP Creates a directory named after the package containing an \fIabuild\fR file -with \fIname\fR, \fIversion\fR, \fIrelease\fR, and \fIsource\fR fields populated. +with \fIname\fR, \fIversion\fR, \fIrelease\fR, and \fIsource\fR fields populated, +and an \fIinfo\fR file with \fIdescription\fR, \fIhomepage\fR, \fIlicense\fR, +and \fImaintainer\fR fields as a template. +.SH FILES +.TP +\fB<name>/abuild\fR +Generated package recipe with \fIname\fR, \fIversion\fR, \fIrelease\fR, and +\fIsource\fR populated. +.TP +\fB<name>/info\fR +Package metadata template with \fIdescription\fR, \fIhomepage\fR, \fIlicense\fR, +and \fImaintainer\fR fields. .SH EXAMPLES .LP \f(CRapkg-genabuild https://example.com/pkg-1.2.3.tar.gz\fR - Generate template for a tarball. |