[pacman-dev] [PATCH 2/2] add example + Files for makepkg
Xavier Chantry
chantry.xavier at gmail.com
Sun Jun 13 09:40:51 EDT 2010
On Sun, Jun 13, 2010 at 3:28 PM, Nico Schottelius
<nico-pacman-dev at schottelius.org> wrote:
>
> Signed-off-by: Nico Schottelius <nico at kr.ethz.ch>
> ---
> doc/makepkg.8.txt | 15 +++++++++++++++
> 1 files changed, 15 insertions(+), 0 deletions(-)
>
+Examples
+--------
+To create a new package from scratch and let makepkg handle md5sums:
+
+ $ mkdir mypkg
Maybe you should switch dir to mypkg here
+ # create PKGBUILD with your favorite editor
We already have several links to PKGBUILD man page, maybe we do not
need to repeat it here.
+ $ makepkg -g >> PKGBUILD
You could add a quick one-line description : append integrity checks
at the end of the PKGBUILD
Note that this is not necessarily md5sums, it depends on the pkgbuild
and makepkg.conf :
-g, --geninteg
For each source file in the source array of PKGBUILD,
download the file if required and
generate integrity checks. The integrity checks generated
are determined by the checks present
in the PKGBUILD, falling back to the value of the
INTEGRITY_CHECK array in makepkg.conf(5) if
these are absent This output can be redirected into your
PKGBUILD for source validation using
"makepkg -g >> PKGBUILD".
+ $ makepkg
+
+Files
+-----
+PKGBUILD::
+ Package build description file in the *current* directory.
+
+
More information about the pacman-dev
mailing list