[arch-commits] Commit in libuv/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 24 07:03:32 UTC 2017


    Date: Friday, November 24, 2017 @ 07:03:32
  Author: felixonmars
Revision: 310773

archrelease: copy trunk to testing-x86_64

Added:
  libuv/repos/testing-x86_64/
  libuv/repos/testing-x86_64/PKGBUILD
    (from rev 310772, libuv/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: libuv/repos/testing-x86_64/PKGBUILD (from rev 310772, libuv/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-11-24 07:03:32 UTC (rev 310773)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=libuv
+pkgver=1.17.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')
+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
+}
+
+sha512sums=('274615dd67808a7b7481184aa9c1650f7646ffe714c5304ea123e287eb09cad2a4c677ac06ae68b7d0e70071545954aa6a80414cd7e37c242a2533563094870c')


More information about the arch-commits mailing list