[arch-commits] Commit in sauerbraten-data (2 files)

Eli Schwartz eschwartz at archlinux.org
Thu Jan 11 06:26:28 UTC 2018


    Date: Thursday, January 11, 2018 @ 06:26:27
  Author: eschwartz
Revision: 281286

Fix HTTPS source downloads, unquoted $srcdir/$pkgdir

Modified:
  sauerbraten-data/repos/community-any/PKGBUILD
  sauerbraten-data/trunk/PKGBUILD

------------------------------+
 repos/community-any/PKGBUILD |   18 +++++++++---------
 trunk/PKGBUILD               |   18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)

Modified: repos/community-any/PKGBUILD
===================================================================
--- repos/community-any/PKGBUILD	2018-01-11 06:09:02 UTC (rev 281285)
+++ repos/community-any/PKGBUILD	2018-01-11 06:26:27 UTC (rev 281286)
@@ -13,26 +13,26 @@
 url="http://www.sauerbraten.org/"
 license=('ZLIB')
 makedepends=('sdl_mixer' 'sdl_image' 'glu' 'mesa-libgl')
-source=(http://downloads.sourceforge.net/sauerbraten/sauerbraten_${pkgver}_linux.tar.bz2
-	license.txt)
+source=(https://downloads.sourceforge.net/sauerbraten/sauerbraten_${pkgver}_linux.tar.bz2
+        license.txt)
 md5sums=('2cfbd619981402898f97b93be08d58ac'
          'cf46cd0148f03b7477f7c54aec865abe')
 
 build() {
-  cd ${srcdir}/sauerbraten/src
+  cd "${srcdir}"/sauerbraten/src
 
   make
 }
 
 package() {
-  cd ${srcdir}/sauerbraten
+  cd "${srcdir}"/sauerbraten
 
-  install -d ${pkgdir}/opt/sauerbraten
-  cp -r data ${pkgdir}/opt/sauerbraten
-  cp -r packages ${pkgdir}/opt/sauerbraten
+  install -d "${pkgdir}"/opt/sauerbraten
+  cp -r data "${pkgdir}"/opt/sauerbraten
+  cp -r packages "${pkgdir}"/opt/sauerbraten
 
   # make namcap happy
-  #chmod -R go+rx ${pkgdir}/opt/sauerbraten/packages/argh
+  #chmod -R go+rx "${pkgdir}"/opt/sauerbraten/packages/argh
 
-  install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+  install -Dm644 "${srcdir}"/license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
 }

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2018-01-11 06:09:02 UTC (rev 281285)
+++ trunk/PKGBUILD	2018-01-11 06:26:27 UTC (rev 281286)
@@ -13,26 +13,26 @@
 url="http://www.sauerbraten.org/"
 license=('ZLIB')
 makedepends=('sdl_mixer' 'sdl_image' 'glu' 'mesa-libgl')
-source=(http://downloads.sourceforge.net/sauerbraten/sauerbraten_${pkgver}_linux.tar.bz2
-	license.txt)
+source=(https://downloads.sourceforge.net/sauerbraten/sauerbraten_${pkgver}_linux.tar.bz2
+        license.txt)
 md5sums=('2cfbd619981402898f97b93be08d58ac'
          'cf46cd0148f03b7477f7c54aec865abe')
 
 build() {
-  cd ${srcdir}/sauerbraten/src
+  cd "${srcdir}"/sauerbraten/src
 
   make
 }
 
 package() {
-  cd ${srcdir}/sauerbraten
+  cd "${srcdir}"/sauerbraten
 
-  install -d ${pkgdir}/opt/sauerbraten
-  cp -r data ${pkgdir}/opt/sauerbraten
-  cp -r packages ${pkgdir}/opt/sauerbraten
+  install -d "${pkgdir}"/opt/sauerbraten
+  cp -r data "${pkgdir}"/opt/sauerbraten
+  cp -r packages "${pkgdir}"/opt/sauerbraten
 
   # make namcap happy
-  #chmod -R go+rx ${pkgdir}/opt/sauerbraten/packages/argh
+  #chmod -R go+rx "${pkgdir}"/opt/sauerbraten/packages/argh
 
-  install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+  install -Dm644 "${srcdir}"/license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
 }



More information about the arch-commits mailing list