Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=85944f1e1b1af1bfc09841fbbf6cefcfb39e2252

commit 85944f1e1b1af1bfc09841fbbf6cefcfb39e2252
Author: Michel Hermier <[email protected]>
Date:   Wed Nov 21 12:41:52 2012 +0100

scripts/makepkg

* Create small stub to create .PKGINFO from pkg_create.

diff --git a/scripts/makepkg b/scripts/makepkg
index 7ad5239..8f5598a 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -461,7 +461,7 @@ rmdir_subpkgs()
fi
}

-pkg_pkginfo()
+pkg_print_pkginfo()
{
local it

@@ -514,6 +514,11 @@ pkg_pkginfo()
done
}

+pkg_create_pkginfo() {
+       msg2 "$1: PKGINFO file... " >&2
+       pkg_print_pkginfo "$1" > .PKGINFO
+}
+
pkg_create_archive() {
local i tarargs tarball

@@ -544,8 +549,7 @@ create_pkg()

msg "Generating files for $1:"
cd "$startdir/pkg.$1"
-       msg2 ".PKGINFO file... " >&2
-       pkg_pkginfo "$1" > .PKGINFO
+       pkg_create_pkginfo "$1"

# check for an install script
install="${_P_package_install["$1"]}"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to