From 34f1cceda8c5af00505d3de3cc7234d108dd0961 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 09:47:46 -0500
Subject: libevent 2.0.19

---
 abs/core/libevent/PKGBUILD | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/abs/core/libevent/PKGBUILD b/abs/core/libevent/PKGBUILD
index e78d693..a697da6 100644
--- a/abs/core/libevent/PKGBUILD
+++ b/abs/core/libevent/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id$
-# Maintainer: 
+# $Id: PKGBUILD 159369 2012-05-22 19:07:09Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
 # Contributor: Judd <jvinet@zeroflux.org>
 
 pkgname=libevent
-pkgver=2.0.10
+pkgver=2.0.19
 pkgrel=1
 pkgdesc="An event notification library"
-license=('GPL2')
 arch=('i686' 'x86_64')
 url="http://www.monkey.org/~provos/libevent/"
+license=('BSD')
 depends=('openssl')
-source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
+optdepends=('python2: to use event_rpcgen.py')
 options=('!libtool')
-md5sums=('a37401d26cbbf28185211d582741a3d4')
+source=(https://github.com/downloads/${pkgname}/${pkgname}/${pkgname}-$pkgver-stable.tar.gz{,.asc})
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}-stable"
@@ -21,8 +21,14 @@ build() {
   make
 }
 
-package() {
+check() {
   cd "${srcdir}/${pkgname}-${pkgver}-stable"
-  make DESTDIR=${pkgdir} install
+  make check || true # this never worked, should be taken upstream
 }
 
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}-stable"
+  make DESTDIR="${pkgdir}" install
+}
+md5sums=('91111579769f46055b0a438f5cc59572'
+         'a211997b20913954f744a665f31f77d2')
-- 
cgit v0.12

