[pacman-dev] [PATCH 1/2] Quote sources in PKGBUILD prototypes and example PKGBUILD

Jason St. John jstjohn at purdue.edu
Tue May 28 06:54:52 EDT 2013


From: "Jason St. John" <jstjohn at purdue.edu>

Signed-off-by: Jason St. John <jstjohn at purdue.edu>
---
Resubmission containing Allan's requested change to PKGBUILD-example.txt

 doc/PKGBUILD-example.txt   | 2 +-
 proto/PKGBUILD-split.proto | 4 ++--
 proto/PKGBUILD.proto       | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/PKGBUILD-example.txt b/doc/PKGBUILD-example.txt
index 9ab5dff..00dd8b1 100644
--- a/doc/PKGBUILD-example.txt
+++ b/doc/PKGBUILD-example.txt
@@ -9,7 +9,7 @@ url="https://www.gnu.org/software/patch/patch.html"
 license=('GPL')
 groups=('base-devel')
 depends=('glibc' 'ed')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
 md5sums=('ee5ae84d115f051d87fcaaef3b4ae782')

 build() {
diff --git a/proto/PKGBUILD-split.proto b/proto/PKGBUILD-split.proto
index 672e7df..54e5557 100644
--- a/proto/PKGBUILD-split.proto
+++ b/proto/PKGBUILD-split.proto
@@ -24,8 +24,8 @@ backup=()
 options=()
 install=
 changelog=
-source=($pkgbase-$pkgver.tar.gz
-        $pkgname-$pkgver.patch)
+source=("$pkgbase-$pkgver.tar.gz"
+        "$pkgname-$pkgver.patch")
 noextract=()
 md5sums=() #generate with 'makepkg -g'

diff --git a/proto/PKGBUILD.proto b/proto/PKGBUILD.proto
index d4c01b8..5b854ce 100644
--- a/proto/PKGBUILD.proto
+++ b/proto/PKGBUILD.proto
@@ -24,8 +24,8 @@ backup=()
 options=()
 install=
 changelog=
-source=($pkgname-$pkgver.tar.gz
-        $pkgname-$pkgver.patch)
+source=("$pkgname-$pkgver.tar.gz"
+        "$pkgname-$pkgver.patch")
 noextract=()
 md5sums=() #generate with 'makepkg -g'

--
1.8.3



More information about the pacman-dev mailing list