1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
7 pkgdesc="Multi-platform support library with a focus on asynchronous I/O"
9 url="https://github.com/libuv/libuv"
11 depends=('glibc' 'libnsl')
12 makedepends=('python-sphinx')
13 source=(https://dist.libuv.org/dist/v$pkgver/libuv-v$pkgver.tar.gz{,.sign})
14 sha512sums=('91197ff9303112567bbb915bbb88058050e2ad1c048815a3b57c054635d5dc7df458b956089d785475290132236cb0edcfae830f5d749de29a9a3213eeaf0b20'
16 # PGP key IDs are available from https://github.com/libuv/libuv/blob/v1.x/MAINTAINERS.md
17 validpgpkeys=('57353E0DBDAAA7E839B66A1AFF47D5E4AD8B4FDC' # Colin Ihrig (@cjihrig)
18 'AEAD0A4B686767751A0E4AEF34A25FB128246514'
19 'CFBB9CA9A5BEAFD70E2B3C5A79A67C55A3679C8B') # Jameson Nash (@vtjnash)
23 # Disable tests that fail on build.a.o (but pass locally)
24 sed -e '/udp_multicast_join/d' -i test/test-list.h
30 ./configure --prefix=/usr
43 make DESTDIR="$pkgdir" install
45 install -Dm644 LICENSE \
46 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
47 install -Dm644 AUTHORS \
48 "$pkgdir"/usr/share/doc/$pkgname/AUTHORS
49 install -Dm644 README.md \
50 "$pkgdir"/usr/share/doc/$pkgname/README.md
51 install -Dm644 ChangeLog \
52 "$pkgdir"/usr/share/doc/$pkgname/ChangeLog
53 install -Dm644 docs/build/man/libuv.1 \
54 "$pkgdir"/usr/share/man/man1/libuv.1