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

Tobias Powalowski tpowa at archlinux.org
Sun May 6 19:18:38 UTC 2007


    Date: Sunday, May 6, 2007 @ 15:18:38
  Author: tpowa
    Path: /home/cvs-arch/arch/build/base/libdownload

   Added: PKGBUILD (1.1)

'newpkg: moved in from lib'


----------+
 PKGBUILD |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)


Index: arch/build/base/libdownload/PKGBUILD
diff -u /dev/null arch/build/base/libdownload/PKGBUILD:1.1
--- /dev/null	Sun May  6 15:18:38 2007
+++ arch/build/base/libdownload/PKGBUILD	Sun May  6 15:18:38 2007
@@ -0,0 +1,18 @@
+# $Id: PKGBUILD,v 1.1 2007/05/06 19:18:38 tpowa Exp $
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=libdownload
+pkgver=1.1
+pkgrel=1
+pkgdesc="URL based download library, forked from libfetch"
+arch=(i686 x86_64)
+depends=('glibc')
+source=(http://phraktured.net/libdownload/dist/$pkgname-$pkgver.tar.gz)
+url="http://phraktured.net/libdownload"
+
+build() {
+  cd $startdir/src/${pkgname}-${pkgver}
+  [ "$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