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

Felix Yan fyan at archlinux.org
Thu Mar 31 06:45:33 UTC 2016


    Date: Thursday, March 31, 2016 @ 08:45:33
  Author: fyan
Revision: 169022

upgpkg: boinc 7.6.31-3

remove boinc-nox's dependency on libxss (FS#48746)

Modified:
  boinc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-31 06:44:59 UTC (rev 169021)
+++ PKGBUILD	2016-03-31 06:45:33 UTC (rev 169022)
@@ -7,7 +7,7 @@
 pkgname=(boinc boinc-nox)
 pkgver=7.6.31
 _tag="client_release/7.6/$pkgver"
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://boinc.berkeley.edu/"
 license=('LGPL')
@@ -28,16 +28,19 @@
          'e27047518dec54d4db38816487a28661')
 
 prepare() {
-  cd "$srcdir/$pkgbase"
-  patch -Np1 -i "${srcdir}/boinc-AM_CONDITIONAL.patch"
+  cd $pkgbase
+  patch -Np1 -i "$srcdir"/boinc-AM_CONDITIONAL.patch
 
   ./_autosetup
 
-  cp -r "$srcdir/$pkgbase" "$srcdir/$pkgbase-nox"
+  cp -r "$srcdir"/${pkgbase}{,-nox}
+
+  # Don't force xss
+  sed -i 's/^  enable_xss="yes"$/  enable_xss="no"/' "$srcdir"/boinc-nox/configure
 }
 
 build() {
-  cd "$srcdir/$pkgbase"
+  cd "$srcdir"/$pkgbase
   LDFLAGS='-lX11' ./configure \
     --prefix=/usr \
     --enable-libraries \
@@ -55,7 +58,7 @@
   make
 
   # Build boinc-nox
-  cd "$srcdir/$pkgbase-nox"
+  cd "$srcdir"/$pkgbase-nox
   PKG_CONFIG=/usr/bin/pkg-config ./configure \
     --prefix=/usr \
     --enable-libraries \
@@ -64,7 +67,6 @@
     --enable-dynamic-client-linkage \
     --enable-client \
     --disable-server \
-    --disable-xss \
     --disable-static \
     --disable-manager \
     --with-ssl \



More information about the arch-commits mailing list