Date: Sunday, July 8, 2018 @ 08:02:03
  Author: eschwartz
Revision: 354655

Use HTTPS sources and quote ${srcdir}/${pkgdir}

Modified:
  playonlinux/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-07-08 08:00:56 UTC (rev 354654)
+++ PKGBUILD    2018-07-08 08:02:03 UTC (rev 354655)
@@ -6,12 +6,12 @@
 pkgver=4.2.12
 pkgrel=2
 pkgdesc="GUI for managing Windows programs under linux"
-url="http://www.playonlinux.com/";
+url="https://www.playonlinux.com/";
 license=('GPL')
 depends=('wine' 'imagemagick' 'xterm' 'wxpython' 'cabextract' 'unzip' 
'mesa-demos' 'gnupg'
          'icoutils' 'xdg-user-dirs' 'libxmu' 'netcat' 'wget' 'p7zip')
 arch=('x86_64')
-source=(http://www.playonlinux.com/script_files/PlayOnLinux/${pkgver/.0/}/PlayOnLinux_${pkgver/.0/}.tar.gz
+source=(https://www.playonlinux.com/script_files/PlayOnLinux/${pkgver/.0/}/PlayOnLinux_${pkgver/.0/}.tar.gz
         PlayOnLinuxUrlHandler.desktop)
 options=(!strip)
 sha256sums=('38cbdc85cca83b72ed0e54ee3a768f939fefe29d3670fc5d76b0303b5bda680e'
@@ -25,13 +25,13 @@
   make PREFIX=/usr
   make DESTDIR="${pkgdir}" install
 
-  install -d ${pkgdir}/usr/share/playonlinux/lang
-  mv -v ${pkgdir}/usr/share/locale ${pkgdir}/usr/share/playonlinux/lang/locale
-  chmod 755 ${pkgdir}/usr/share/playonlinux/lang
+  install -d "${pkgdir}"/usr/share/playonlinux/lang
+  mv -v "${pkgdir}"/usr/share/locale 
"${pkgdir}"/usr/share/playonlinux/lang/locale
+  chmod 755 "${pkgdir}"/usr/share/playonlinux/lang
 
-  install -m755 ${srcdir}/PlayOnLinuxUrlHandler.desktop 
${pkgdir}/usr/share/applications/PlayOnLinuxUrlHandler.desktop
-  install -m755 playonlinux-url_handler 
${pkgdir}/usr/bin/playonlinux-url_handler
-  sed -i "s/python /python2 /g" 
$pkgdir/usr/{bin,share/playonlinux}/playonlinux-url_handler
+  install -m755 "${srcdir}"/PlayOnLinuxUrlHandler.desktop 
"${pkgdir}"/usr/share/applications/PlayOnLinuxUrlHandler.desktop
+  install -m755 playonlinux-url_handler 
"${pkgdir}"/usr/bin/playonlinux-url_handler
+  sed -i "s/python /python2 /g" 
"$pkgdir"/usr/{bin,share/playonlinux}/playonlinux-url_handler
 
 #  sed -i "s/ %F//g" $pkgdir/usr/share/applications/playonlinux.desktop
 }

Reply via email to