31 lines
812 B
Bash
31 lines
812 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=libev
|
|
pkgver=4.33
|
|
pkgrel=2
|
|
pkgdesc="A full-featured and high-performance event loop"
|
|
arch=('i686' 'x86_64')
|
|
url='http://software.schmorp.de/pkg/libev.html'
|
|
license=('Modified-BSD')
|
|
depends=('glibc')
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://deb.debian.org/debian/pool/main/libe/libev/libev_${pkgver}.orig.tar.gz")
|
|
sha512sums=('c662a65360115e0b2598e3e8824cf7b33360c43a96ac9233f6b6ea2873a10102551773cad0e89e738541e75af9fd4f3e3c11cd2f251c5703aa24f193128b896b')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# fix conflict with libevent
|
|
rm "${pkgdir}"/usr/include/event.h
|
|
|
|
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
}
|