From 5276defc8df3d0be9a8ec2ddfca16a3462f33fa5 Mon Sep 17 00:00:00 2001 From: novica Date: Fri, 6 Feb 2026 12:03:26 +0100 Subject: [PATCH] first commit r-ark-bin --- .SRCINFO | 18 ++++++++++++++++++ PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2ab55bb374e1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = r-ark-bin + pkgdesc = An R kernel + pkgver = 0.1.228 + pkgrel = 1 + url = https://github.com/posit-dev/ark + arch = x86_64 + license = MIT + depends = gcc-libs + depends = glibc + conflicts = r-ark + options = !debug + source_x86_64 = r-ark-bin-0.1.228.tar.gz::https://github.com/posit-dev/ark/releases/download/0.1.228/ark-0.1.228-linux-x64.zip + source_x86_64 = https://raw.githubusercontent.com/posit-dev/ark/refs/tags/0.1.228/LICENSE + provides_x86_64 = r-ark=0.1.228 + sha256sums_x86_64 = 8a2b04c55eead1aa5ccfd3f38dd3b52d5ee81e7c4f15ced9e58fa88d8ba846cf + sha256sums_x86_64 = 19713ea69a4231105033c381dc2145148d26eab51e0b7e458ef4e775db531863 + +pkgname = r-ark-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bc500aad8501 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: novica + +pkgname=r-ark-bin +pkgver=0.1.228 +pkgrel=1 +pkgdesc="An R kernel" +arch=('x86_64') +url="https://github.com/posit-dev/ark" +license=('MIT') +depends=('gcc-libs' 'glibc') +conflicts=('r-ark') +options=('!debug') +provides_x86_64=("r-ark=${pkgver}") +source_x86_64=("${pkgname}-${pkgver}.tar.gz::https://github.com/posit-dev/ark/releases/download/${pkgver}/ark-${pkgver}-linux-x64.zip" + "https://raw.githubusercontent.com/posit-dev/ark/refs/tags/${pkgver}/LICENSE") +sha256sums_x86_64=('8a2b04c55eead1aa5ccfd3f38dd3b52d5ee81e7c4f15ced9e58fa88d8ba846cf' + '19713ea69a4231105033c381dc2145148d26eab51e0b7e458ef4e775db531863') + + + +package() { + cd "$srcdir" + + # Move the binary from the temporary install directory to the final location + install -Dm755 "$srcdir/ark" "$pkgdir/usr/bin/r-ark" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}