OCaml 4.14.0 rebuild
[arch-packages.git] / libuv / trunk / PKGBUILD
blobd28d6216a23cc36e2a03e9b77a01d1e17fb26f36
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
4 pkgname=libuv
5 pkgver=1.44.2
6 pkgrel=1
7 pkgdesc="Multi-platform support library with a focus on asynchronous I/O"
8 arch=('x86_64')
9 url="https://github.com/libuv/libuv"
10 license=('custom')
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'
15             'SKIP')
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)
21 prepare() {
22     cd $pkgname-v$pkgver
23     # Disable tests that fail on build.a.o (but pass locally)
24     sed -e '/udp_multicast_join/d' -i test/test-list.h
27 build() {
28     cd $pkgname-v$pkgver
29     ./autogen.sh
30     ./configure --prefix=/usr
31     make
32     make man -C docs
35 check() {
36     cd $pkgname-v$pkgver
37     make check
40 package() {
41     cd $pkgname-v$pkgver
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