From b6a3c47b0b655d1dddfb9a0e6e2bc26a2f25ed3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 22 Dec 2025 13:54:58 +0700 Subject: [PATCH] New package: R-cran-fs-1.6.6 --- srcpkgs/R-cran-fs/patches/system-libuv.patch | 25 ++++++++++++++++++++ srcpkgs/R-cran-fs/template | 15 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 srcpkgs/R-cran-fs/patches/system-libuv.patch create mode 100644 srcpkgs/R-cran-fs/template diff --git a/srcpkgs/R-cran-fs/patches/system-libuv.patch b/srcpkgs/R-cran-fs/patches/system-libuv.patch new file mode 100644 index 00000000000..1b54c7bf168 --- /dev/null +++ b/srcpkgs/R-cran-fs/patches/system-libuv.patch @@ -0,0 +1,25 @@ +--- a/fs/src/Makevars ++++ b/fs/src/Makevars +@@ -2,7 +2,7 @@ UNAME := $(shell uname) + + LIBUV := libuv-1.44.2 + +-PKG_LIBS = ./$(LIBUV)/.libs/libuv.pa -pthread ++PKG_LIBS = -luv -pthread + + SOURCES = $(wildcard *.cc unix/*.cc) + OBJECTS = $(SOURCES:.cc=.o) +@@ -24,11 +24,11 @@ ifneq ($(filter $(UNAME), Linux AIX OS40 + OBJECTS += bsd/setmode.o bsd/strmode.o bsd/reallocarray.o + endif + +-PKG_CPPFLAGS = -I./$(LIBUV)/include -I. -pthread ++PKG_CPPFLAGS = -I. -pthread + + all: $(SHLIB) + +-$(SHLIB): $(LIBUV)/.libs/libuv.pa ++$(SHLIB): + + # Avoid re-running autoconf/automake/aclocal. + # Need the timestamps in the right order. diff --git a/srcpkgs/R-cran-fs/template b/srcpkgs/R-cran-fs/template new file mode 100644 index 00000000000..842953ae789 --- /dev/null +++ b/srcpkgs/R-cran-fs/template @@ -0,0 +1,15 @@ +# Template file for 'R-cran-fs' +pkgname=R-cran-fs +version=1.6.6 +revision=1 +build_style=R-cran +makedepends="libuv-devel" +short_desc="Cross-Platform File System Operations Based on libuv" +maintainer="Orphaned " +license="MIT" +homepage="https://fs.r-lib.org/" +checksum=57d3a0844e2fec28e6fe9901d18e07d32a437dfe43c4b547757eb07360f5850a + +post_install() { + vlicense LICENSE +}