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

Felix Yan felixonmars at gemini.archlinux.org
Thu Jan 13 22:23:43 UTC 2022


    Date: Thursday, January 13, 2022 @ 22:23:43
  Author: felixonmars
Revision: 434429

archrelease: copy trunk to testing-x86_64

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

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

Copied: libuv/repos/testing-x86_64/PKGBUILD (from rev 434428, libuv/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-01-13 22:23:43 UTC (rev 434429)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at 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
+}



More information about the arch-commits mailing list