[arch-commits] CVS update of arch/build/base/libdownload (PKGBUILD)
Dan McGee
dan at archlinux.org
Sat Aug 18 00:08:04 UTC 2007
Date: Friday, August 17, 2007 @ 20:08:04
Author: dan
Path: /home/cvs-arch/arch/build/base/libdownload
Modified: PKGBUILD (1.1 -> 1.2)
upgpkg: libdownload 1.1-2
----------+
PKGBUILD | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Index: arch/build/base/libdownload/PKGBUILD
diff -u arch/build/base/libdownload/PKGBUILD:1.1 arch/build/base/libdownload/PKGBUILD:1.2
--- arch/build/base/libdownload/PKGBUILD:1.1 Sun May 6 15:18:38 2007
+++ arch/build/base/libdownload/PKGBUILD Fri Aug 17 20:08:04 2007
@@ -1,17 +1,24 @@
-# $Id: PKGBUILD,v 1.1 2007/05/06 19:18:38 tpowa Exp $
+# $Id: PKGBUILD,v 1.2 2007/08/18 00:08:04 dan Exp $
# Maintainer: Aaron Griffin <aaron at archlinux.org>
pkgname=libdownload
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="URL based download library, forked from libfetch"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
+license=('BSD')
depends=('glibc')
-source=(http://phraktured.net/libdownload/dist/$pkgname-$pkgver.tar.gz)
+source=(http://phraktured.net/libdownload/dist/$pkgname-$pkgver.tar.gz
+ largefiles.patch)
url="http://phraktured.net/libdownload"
+md5sums=('8a284202a8ba575cc1696afb15e34dad'
+ '1a6fd8290b58177e4a70a6695292bd50')
build() {
cd $startdir/src/${pkgname}-${pkgver}
+ # patch with support for large files as pacman is built with it
+ patch -p1 -i ../largefiles.patch || return 1
+
[ "$CARCH" = "x86_64" ] && sed -i -e "s/-O2\ -pipe/-O2\ -pipe\ \-fPIC/g" Makefile
make || return 1
make DESTDIR=$startdir/pkg install
More information about the arch-commits
mailing list