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

Felix Yan felixonmars at archlinux.org
Thu Oct 17 18:02:24 UTC 2019


    Date: Thursday, October 17, 2019 @ 18:02:23
  Author: felixonmars
Revision: 365107

archrelease: copy trunk to testing-x86_64

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

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

Copied: libuv/repos/testing-x86_64/PKGBUILD (from rev 365106, libuv/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-10-17 18:02:23 UTC (rev 365107)
@@ -0,0 +1,43 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=libuv
+pkgver=1.33.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://github.com/libuv/libuv/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0b0767d9743931060fe9347ca239d8fb3192a2e0182101dc8f55ab3c9a7440967eda062cc2b3b8b1aede4bdda690e5c20e55ad258c273a1518412e08bf8b8707')
+
+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
+}



More information about the arch-commits mailing list