[arch-commits] Commit in libuv/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 18 18:16:30 UTC 2018
Date: Thursday, January 18, 2018 @ 18:16:29
Author: felixonmars
Revision: 315095
upgpkg: libuv 1.19.0-2
Revert a commit for FS#57138
Modified:
libuv/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-18 17:25:00 UTC (rev 315094)
+++ PKGBUILD 2018-01-18 18:16:29 UTC (rev 315095)
@@ -3,7 +3,7 @@
pkgname=libuv
pkgver=1.19.0
-pkgrel=1
+pkgrel=2
pkgdesc="Multi-platform support library with a focus on asynchronous I/O"
arch=('x86_64')
url="https://github.com/libuv/libuv"
@@ -10,10 +10,19 @@
license=('custom')
depends=('glibc')
makedepends=('python-sphinx')
-source=("https://github.com/libuv/libuv/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+source=("https://github.com/libuv/libuv/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+ https://github.com/libuv/libuv/commit/fd049399aa4ed8495928e375466970d98cb42e17.patch)
+sha512sums=('b9dfe1df09b67dae27a9aa3a3eb8f3ef31aedf9c95c1361034defab21a017e3978a2e2db502847a0c372a34bffe176acd96616096aa692ef2f35cc854ac8e211'
+ '196a5a8be10c05924b88375d4a1d667b0cbcafb3f8ea7f0d16b7fc8d7d843114d71ff0373f79d816fc43964e8bc00797f400745efdb82b60706966f0dce45470')
+prepare() {
+ cd $pkgname-$pkgver
+ # https://github.com/libuv/libuv/pull/1717
+ patch -R -p1 -i ../fd049399aa4ed8495928e375466970d98cb42e17.patch
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr
make
@@ -21,12 +30,12 @@
}
check() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make check
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
@@ -41,5 +50,3 @@
install -Dm644 docs/build/man/libuv.1 \
"$pkgdir"/usr/share/man/man1/libuv.1
}
-
-sha512sums=('b9dfe1df09b67dae27a9aa3a3eb8f3ef31aedf9c95c1361034defab21a017e3978a2e2db502847a0c372a34bffe176acd96616096aa692ef2f35cc854ac8e211')
More information about the arch-commits
mailing list