From ea00947a43cca65cc1b6d451dadc522ac1a1e600 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 2 Mar 2011 01:10:45 +0000
Subject: libevent: Upgrade to 2.0.10. Needed for transmission-cli.

---
 abs/core/libevent/PKGBUILD | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/abs/core/libevent/PKGBUILD b/abs/core/libevent/PKGBUILD
index b8e89b8..e78d693 100644
--- a/abs/core/libevent/PKGBUILD
+++ b/abs/core/libevent/PKGBUILD
@@ -1,27 +1,28 @@
-# $Id: PKGBUILD 89697 2010-09-03 10:45:46Z remy $
+# $Id$
 # Maintainer: 
 # Contributor: Judd <jvinet@zeroflux.org>
 
 pkgname=libevent
-pkgver=1.4.14b
-pkgrel=2
+pkgver=2.0.10
+pkgrel=1
 pkgdesc="An event notification library"
 license=('GPL2')
 arch=('i686' 'x86_64')
 url="http://www.monkey.org/~provos/libevent/"
-depends=('glibc')
+depends=('openssl')
 source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
 options=('!libtool')
-md5sums=('a00e037e4d3f9e4fe9893e8a2d27918c')
+md5sums=('a37401d26cbbf28185211d582741a3d4')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver-stable
+  cd "${srcdir}/${pkgname}-${pkgver}-stable"
   sed -i 's#python#python2#' event_rpcgen.py
   ./configure --prefix=/usr --sysconfdir=/etc
-  make || return 1
+  make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver-stable
-  make DESTDIR=$pkgdir install || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}-stable"
+  make DESTDIR=${pkgdir} install
 }
+
-- 
cgit v0.12

