[arch-commits] Commit in boinc/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Sep 1 06:58:13 UTC 2015
Date: Tuesday, September 1, 2015 @ 08:58:12
Author: fyan
Revision: 139052
prepare for 7.6 series
Modified:
boinc/trunk/PKGBUILD
----------+
PKGBUILD | 47 +++++++++++++++++++++++++----------------------
1 file changed, 25 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-31 23:55:27 UTC (rev 139051)
+++ PKGBUILD 2015-09-01 06:58:12 UTC (rev 139052)
@@ -5,8 +5,8 @@
pkgbase=boinc
pkgname=(boinc boinc-nox)
-pkgver=7.4.27
-_tag="client_release/7.4/$pkgver"
+pkgver=7.6.9
+_tag="client_release/7.6/$pkgver"
pkgrel=1
arch=('i686' 'x86_64')
url="http://boinc.berkeley.edu/"
@@ -13,7 +13,8 @@
license=('LGPL')
makedepends=('libxslt' 'perl-xml-sax' 'git' 'libxss' 'libnotify' 'wxgtk' 'webkitgtk2' 'sqlite3' 'curl' 'inetutils' 'libxmu' 'freeglut' 'glu' 'mesa')
install=$pkgbase.install
-source=("git://boinc.berkeley.edu/boinc-v2.git#tag=$_tag"
+options=('!staticlibs')
+source=("git+https://github.com/BOINC/boinc.git#tag=$_tag"
boinc.bash
boinc.desktop
boinc.service
@@ -20,44 +21,46 @@
boinc-AM_CONDITIONAL.patch)
prepare() {
- cd "$srcdir/$pkgbase-v2"
+ cd "$srcdir/$pkgbase"
patch -Np1 -i "${srcdir}/boinc-AM_CONDITIONAL.patch"
./_autosetup
- cp -r "$srcdir/$pkgbase-v2" "$srcdir/$pkgbase-v2-nox"
+ cp -r "$srcdir/$pkgbase" "$srcdir/$pkgbase-nox"
}
build() {
- msg "Starting make..."
-
- cd "$srcdir/$pkgbase-v2"
+ cd "$srcdir/$pkgbase"
LDFLAGS='-lX11' ./configure \
--prefix=/usr \
- --disable-server \
+ --enable-libraries \
--enable-unicode \
- --with-ssl \
+ --enable-shared \
--enable-dynamic-client-linkage \
- --with-wxdir=/usr/lib \
- --with-wx-config=$(which wx-config) \
- --disable-static \
--enable-client \
--enable-manager \
- --with-x
+ --disable-static \
+ --disable-server \
+ --with-ssl \
+ --with-x \
+ --with-wxdir=/usr/lib \
+ --with-wx-config=$(which wx-config)
make
# Build boinc-nox
- cd "$srcdir/$pkgbase-v2-nox"
- PKG_CONFIG="$(which pkg-config)" ./configure \
+ cd "$srcdir/$pkgbase-nox"
+ PKG_CONFIG=/usr/bin/pkg-config ./configure \
--prefix=/usr \
- --disable-server \
+ --enable-libraries \
--enable-unicode \
- --with-ssl \
+ --enable-shared \
--enable-dynamic-client-linkage \
+ --enable-client \
+ --disable-server \
--disable-xss \
--disable-static \
- --enable-client \
--disable-manager \
+ --with-ssl \
--without-wxdir \
--without-x
make
@@ -67,7 +70,7 @@
pkgdesc="Berkeley Open Infrastructure for Network Computing for desktop"
depends=("libxss" "libnotify" "wxgtk" "webkitgtk2" "curl" "sqlite3")
- cd $pkgbase-v2
+ cd $pkgbase
make DESTDIR="$pkgdir" install
@@ -81,7 +84,7 @@
install -Dm644 "${srcdir}/${pkgbase}.desktop" "${pkgdir}/usr/share/applications/${pkgbase}.desktop"
#install icons
- install -Dm644 "${srcdir}/${pkgbase}-v2/packages/generic/sea/boincmgr.48x48.png" "${pkgdir}/usr/share/pixmaps/$pkgbase.png"
+ install -Dm644 "${srcdir}/${pkgbase}/packages/generic/sea/boincmgr.48x48.png" "${pkgdir}/usr/share/pixmaps/$pkgbase.png"
#remove initscripts stuff
rm -rf "$pkgdir/etc"
@@ -93,7 +96,7 @@
provides=("boinc")
conflicts=("boinc")
- cd $pkgbase-v2-nox
+ cd $pkgbase-nox
make DESTDIR="$pkgdir" install
More information about the arch-commits
mailing list