Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.in')
-rw-r--r--scripts/makepkg.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/makepkg.in b/scripts/makepkg.in
index b06a5bec..cdd266ab 100644
--- a/scripts/makepkg.in
+++ b/scripts/makepkg.in
@@ -755,6 +755,9 @@ create_package() {
# write the .PKGINFO file
msg2 "$(gettext "Generating .PKGINFO file...")"
echo "# Generated by makepkg $myver" >.PKGINFO
+ if [ "$INFAKEROOT" = "1" ]; then
+ echo "# using $(fakeroot -v)" >>.PKGINFO
+ fi
echo "# $(LC_ALL= LANG= date -u)" >>.PKGINFO
echo "pkgname = $pkgname" >>.PKGINFO
echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO