# Template file for 'libuev' pkgname=libuev version=2.1.0 revision=1 build_style=gnu-configure hostmakedepends="automake libtool" short_desc="Lightweight event loop library" maintainer="Duncaen " license="MIT" homepage="https://github.com/troglobit/libuev" distfiles="https://github.com/troglobit/libuev/archive/v${version}.tar.gz" checksum=96ae497074cf3b5d6a78b0b6c626080e711a9b8f908feac4037e197cbec0d51f pre_configure() { ./autogen.sh } post_install() { vlicense LICENSE rm -f ${DESTDIR}/usr/share/doc/libuev/LICENSE } libuev-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/share/doc vmove "usr/lib/*.a" vmove "usr/lib/*.so" } }