[arch-commits] Commit in rss-glx/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Mon Jan 20 01:26:46 UTC 2014


    Date: Monday, January 20, 2014 @ 02:26:46
  Author: eric
Revision: 104399

upgpkg: rss-glx 0.9.1-17

Rebuild against imagemagick 6.8.8.2

Modified:
  rss-glx/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-20 01:11:23 UTC (rev 104398)
+++ PKGBUILD	2014-01-20 01:26:46 UTC (rev 104399)
@@ -5,7 +5,7 @@
 
 pkgname=rss-glx
 pkgver=0.9.1
-pkgrel=16
+pkgrel=17
 pkgdesc="The Really Slick Screensavers port to GLX"
 arch=('i686' 'x86_64')
 url="http://rss-glx.sourceforge.net/"
@@ -20,7 +20,7 @@
          '4211215c9a4918b0dff30a7000647dd9')
 
 build() {
-  cd ${srcdir}/${pkgname}_${pkgver}
+  cd ${pkgname}_${pkgver}
 
   [ "$CARCH" = "x86_64" ] && (sed -i -e 's|@LIBS@|@LIBS@ -fopenmp|g' src/Makefile.in)
 
@@ -34,16 +34,16 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}_${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd ${pkgname}_${pkgver}
+  make DESTDIR="${pkgdir}" install
 
   # FS#18300
-  install -d ${pkgdir}/usr/lib/xscreensaver/
-  list=$(ls ${pkgdir}/usr/bin --ignore rss-glx_install.pl)
+  install -d "${pkgdir}/usr/lib/xscreensaver/"
+  list=$(ls "${pkgdir}/usr/bin" --ignore rss-glx_install.pl)
   for i in $list; do
     ln -s "/usr/bin/$i" "$pkgdir/usr/lib/xscreensaver/"
   done
 
-  install -d ${pkgdir}/usr/share/applications/screensavers
-  install -m644 ${srcdir}/${pkgname}-desktops/*.desktop ${pkgdir}/usr/share/applications/screensavers
+  install -d "${pkgdir}/usr/share/applications/screensavers"
+  install -m644 "${srcdir}"/${pkgname}-desktops/*.desktop "${pkgdir}/usr/share/applications/screensavers"
 }




More information about the arch-commits mailing list