# Maintainer: Jesus E. pkgname=libuv pkgver=1.48.0 pkgrel=1 pkgdesc="Multi-platform support library with a focus on asynchronous I/O" arch=('i686' 'x86_64') url="https://github.com/libuv/libuv" license=('Expat') depends=('glibc' 'libnsl') makedepends=('python-sphinx') source=("https://github.com/libuv/libuv/archive/v$pkgver/$pkgname-$pkgver.tar.gz") sha512sums=('81a9580bc51c22385de4dab748968477b5e552aa25f901c376e3ffac624e0e05362b48239222e826cad900329f9a7cbdb080794fb4ada9ca14196efc2969cc57') prepare() { cd $pkgname-$pkgver ./autogen.sh } build() { cd $pkgname-$pkgver ./configure --prefix=/usr make make man -C docs } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" install -Dm644 AUTHORS -t "$pkgdir/usr/share/doc/$pkgname" install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname" install -Dm644 ChangeLog -t "$pkgdir/usr/share/doc/$pkgname" install -Dm644 docs/build/man/libuv.1 -t "$pkgdir/usr/share/man/man1" }