diff options
| author | emmett1 <me@emmett1.my> | 2026-06-01 00:42:54 +0800 |
|---|---|---|
| committer | emmett1 <me@emmett1.my> | 2026-06-01 00:42:54 +0800 |
| commit | 6e1e6d867330dd2ac4e04f0373b8be312c997e6a (patch) | |
| tree | 2c6af55720545fd0df554dc40425d750165f9baa | |
| parent | 8ba3c15259175ee64ece7ef620c58ada7994e60b (diff) | |
| download | autils-0.2.tar.gz autils-0.2.zip | |
added info file0.2
| -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. |