# $Id: PKGBUILD 32688 2010-11-16 16:50:22Z lcarlier $ # Maintainer: Andrea Scarpino # Contributor: Allan McRae # Contributor: Thomas Haider pkgname=libev pkgver=4.01 pkgrel=1 pkgdesc="A full-featured and high-performance event loop" arch=('i686' 'x86_64') url="http://software.schmorp.de/pkg/libev.html" license=('BSD') depends=('glibc') options=('!libtool' 'force') source=(http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('2a6e0d3d7eda7d54b39f3800b8279707') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install # fix conflict with libevent rm ${pkgdir}/usr/include/event.h install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }