[arch-commits] Commit in (libuv libuv/repos libuv/trunk libuv/trunk/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Dec 5 10:23:09 UTC 2016
Date: Monday, December 5, 2016 @ 10:23:09
Author: felixonmars
Revision: 282838
community2extra: Moving libuv from community to extra
Added:
libuv/
libuv/repos/
libuv/trunk/
libuv/trunk/PKGBUILD
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Added: libuv/trunk/PKGBUILD
===================================================================
--- libuv/trunk/PKGBUILD (rev 0)
+++ libuv/trunk/PKGBUILD 2016-12-05 10:23:09 UTC (rev 282838)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=libuv
+pkgver=1.10.1
+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=('custom')
+depends=('glibc')
+makedepends=('python-sphinx')
+source=("https://github.com/libuv/libuv/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+ make man -C docs
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd "$srcdir"/$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
+}
+
+sha256sums=('4b5f71939dd4272ebcfb8e04833e9a273a08b1bf1277d37d14085d7b04b19832')
Property changes on: libuv/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list