49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
|
|
|
pkgname=libuv
|
|
pkgver=1.43.0
|
|
pkgrel=1
|
|
pkgdesc="Multi-platform support library with a focus on asynchronous I/O"
|
|
arch=('x86_64')
|
|
url="https://github.com/libuv/libuv"
|
|
license=('custom')
|
|
depends=('glibc' 'libnsl')
|
|
makedepends=('python-sphinx')
|
|
source=(https://dist.libuv.org/dist/v$pkgver/libuv-v$pkgver.tar.gz{,.sign})
|
|
sha512sums=('ba48140ac5733e09462a731fe9194c902b011a1a93a63175949c616367bde56bd1c114e8487c5580bee2d4656b45ab8cdc4fc335f67dd35e793c1a943f69fb34'
|
|
'SKIP')
|
|
# PGP key IDs are available from https://github.com/libuv/libuv/blob/v1.x/MAINTAINERS.md
|
|
validpgpkeys=('57353E0DBDAAA7E839B66A1AFF47D5E4AD8B4FDC' # Colin Ihrig (@cjihrig)
|
|
'AEAD0A4B686767751A0E4AEF34A25FB128246514') # Jameson Nash (@vtjnash)
|
|
|
|
build() {
|
|
cd $pkgname-v$pkgver
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make
|
|
make man -C docs
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-v$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-v$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 LICENSE \
|
|
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
install -Dm644 AUTHORS \
|
|
"$pkgdir"/usr/share/doc/$pkgname/AUTHORS
|
|
install -Dm644 README.md \
|
|
"$pkgdir"/usr/share/doc/$pkgname/README.md
|
|
install -Dm644 ChangeLog \
|
|
"$pkgdir"/usr/share/doc/$pkgname/ChangeLog
|
|
install -Dm644 docs/build/man/libuv.1 \
|
|
"$pkgdir"/usr/share/man/man1/libuv.1
|
|
}
|