[pacman-dev] Patch for srcpac to work with current makepkg

u no hu unohu0 at gmail.com
Fri May 15 14:34:26 EDT 2009


From: unohu <unohu0 at gmail.com>
Date: Fri, 15 May 2009 18:33:55 +0530
Subject: [PATCH] 2 bugfixes
 Replaced outdated makepkg option b with s
 copy all files instead of just PKGBUILD

---
 srcpac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpac b/srcpac
index 3445c58..45f1b5d 100755
--- a/srcpac
+++ b/srcpac
@@ -129,13 +129,13 @@ build_packages()
                 fi

                 mkdir -p ${builddir}
-                cp ${pkgdir}/PKGBUILD ${builddir}
+                cp ${pkgdir}/* ${builddir}

                 # apply configuration
                 apply_config ${pkg} ${builddir}

                 # seperate out our makepkg flags
-                MAKEPKGOPTS="-c -b -r -f"
+                MAKEPKGOPTS="-c -s -r -f"

                 cd ${builddir}

-- 
1.6.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-2-bugfixes.patch
Type: application/octet-stream
Size: 767 bytes
Desc: not available
URL: <http://www.archlinux.org/pipermail/pacman-dev/attachments/20090516/aedd212b/attachment.obj>


More information about the pacman-dev mailing list