Date: Thursday, April 12, 2018 @ 07:25:43 Author: felixonmars Revision: 321623
archrelease: copy trunk to staging-x86_64 Added: libuv/repos/staging-x86_64/ libuv/repos/staging-x86_64/PKGBUILD (from rev 321622, libuv/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: libuv/repos/staging-x86_64/PKGBUILD (from rev 321622, libuv/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-04-12 07:25:43 UTC (rev 321623) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> + +pkgname=libuv +pkgver=1.20.0 +pkgrel=2 +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://github.com/libuv/libuv/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('382309cb6e54765b956b03357cb754f49d93505ba0e0122a77f33efca07d7b87966c993a5fd9f9503edd1bcd0f49ca42bd9cd9264cce94c847aebca77d237ba0') + +build() { + cd $pkgname-$pkgver + ./autogen.sh + ./configure --prefix=/usr + make + make man -C docs +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$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 +}