[arch-commits] CVS update of core/base/libdownload (PKGBUILD)

Thomas Baechler thomas at archlinux.org
Wed Sep 19 18:14:38 UTC 2007


    Date: Wednesday, September 19, 2007 @ 14:14:38
  Author: thomas
    Path: /home/cvs-core/core/base/libdownload

Modified: PKGBUILD (1.4 -> 1.5)

upgpkg: libdownload 1.1-3


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


Index: core/base/libdownload/PKGBUILD
diff -u core/base/libdownload/PKGBUILD:1.4 core/base/libdownload/PKGBUILD:1.5
--- core/base/libdownload/PKGBUILD:1.4	Tue Aug 21 11:35:14 2007
+++ core/base/libdownload/PKGBUILD	Wed Sep 19 14:14:38 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.4 2007/08/21 15:35:14 dan Exp $
+# $Id: PKGBUILD,v 1.5 2007/09/19 18:14:38 thomas Exp $
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=libdownload
 pkgver=1.1
-pkgrel=2
+pkgrel=3
 pkgdesc="URL based download library, forked from libfetch"
 arch=('i686' 'x86_64')
 license=('BSD')
@@ -18,7 +18,9 @@
 build() {
   cd $startdir/src/${pkgname}-${pkgver}
   # patch with support for large files as pacman is built with it
-  [ "$CARCH" = "i686" ] && patch -p1 -i ../largefiles.patch || return 1
+  if [ "$CARCH" = "i686" ]; then
+    patch -p1 -i ../largefiles.patch || return 1
+  fi
 
   [ "$CARCH" = "x86_64" ] && sed -i -e "s/-O2\ -pipe/-O2\ -pipe\ \-fPIC/g" Makefile
   make || return 1




More information about the arch-commits mailing list