Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Archlinux libevent-2.0.10 package (Use at own risk, not stable!)

By: a guest on Dec 26th, 2010  |  syntax: None  |  size: 0.85 KB  |  views: 65  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # $Id: PKGBUILD 89697 2010-09-03 10:45:46Z remy $
  2. # Maintainer:
  3. # Contributor: Judd <jvinet@zeroflux.org>
  4.  
  5. pkgname=libevent
  6. pkgver=2.0.10
  7. pkgrel=1
  8. pkgdesc="An event notification library"
  9. license=('GPL2')
  10. arch=('i686' 'x86_64')
  11. url="http://www.monkey.org/~provos/libevent/"
  12. depends=('glibc')
  13. #source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
  14. source=("http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.10-stable.tar.gz")
  15. options=('!libtool')
  16. #md5sums=('a00e037e4d3f9e4fe9893e8a2d27918c')
  17. md5sums=('a37401d26cbbf28185211d582741a3d4')
  18.  
  19. build() {
  20.   cd $srcdir/$pkgname-$pkgver-stable
  21.   sed -i 's#python#python2#' event_rpcgen.py
  22.   ./configure --prefix=/usr --sysconfdir=/etc
  23.   make || return 1
  24. }
  25.  
  26. package() {
  27.   cd $srcdir/$pkgname-$pkgver-stable
  28.   make DESTDIR=$pkgdir install || return 1
  29. }