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

Jan de Groot jgc at archlinux.org
Tue Aug 24 10:24:29 EDT 2010


    Date: Tuesday, August 24, 2010 @ 10:24:28
  Author: jgc
Revision: 88702

upgpkg: xscreensaver 5.11-2
Get rid of libxxf86misc dependency, remove some old outdated configure flags that no longer work

Modified:
  xscreensaver/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-24 13:46:26 UTC (rev 88701)
+++ PKGBUILD	2010-08-24 14:24:28 UTC (rev 88702)
@@ -4,12 +4,12 @@
 
 pkgname=xscreensaver
 pkgver=5.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Screen saver and locker for the X Window System"
 arch=('i686' 'x86_64')
 url="http://www.jwz.org/xscreensaver/"
 license=('BSD')
-depends=('libxxf86misc' 'libglade' 'mesa' 'pam' 'xorg-res-utils')
+depends=('libglade' 'mesa' 'pam' 'xorg-res-utils')
 makedepends=('bc')
 backup=('etc/pam.d/xscreensaver')
 source=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz \
@@ -21,19 +21,19 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np0 -i "${srcdir}/add-electricsheep.diff" || return 1
+  patch -Np0 -i "${srcdir}/add-electricsheep.diff"
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \
-    --with-pam --without-motif --with-gtk --without-gnome --with-xml --with-gl \
-    --without-gle --with-xpm --with-pixbuf --with-jpeg || return 1
-  make || return 1
+    --with-pam --without-motif --with-gtk --with-gl \
+    --without-gle --with-xpm --with-pixbuf --with-jpeg
+  make
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  make install_prefix="${pkgdir}" install || return 1
-  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
-  install -D -m644 ../xscreensaver.pam "${pkgdir}/etc/pam.d/xscreensaver" || return 1
-  chmod 755 "${pkgdir}/usr/bin/xscreensaver" || return 1
-  echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop" || return 1
+  make install_prefix="${pkgdir}" install
+  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 ../xscreensaver.pam "${pkgdir}/etc/pam.d/xscreensaver"
+  chmod 755 "${pkgdir}/usr/bin/xscreensaver"
+  echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"
 }



More information about the arch-commits mailing list