From ae01cade80b5dd47bd5645c83a2695bbc2ff7976 Mon Sep 17 00:00:00 2001 From: Arsany Samuel Date: Fri, 10 Oct 2025 23:45:04 +0300 Subject: [PATCH] Initial stakpak-bin aur package --- .SRCINFO | 16 ++++++++++++++++ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..4fbe9dec1a360 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = stakpak-bin + pkgdesc = Stakpak is a terminal-native DevOps Agent in Rust 🦀. It can run commands, edit files, search docs, and more. It has security super powers, and generates high quality IaC + pkgver = 0.2.60 + pkgrel = 1 + url = https://stakpak.dev + arch = x86_64 + arch = aarch64 + license = Apache + depends = glibc + depends = openssl + source_x86_64 = stakpak-linux-x86_64.tar.gz::https://github.com/stakpak/agent/releases/download/v0.2.60/stakpak-linux-x86_64.tar.gz + sha256sums_x86_64 = 16ba0eae8339327fb40c0072b645545d3f3704bd00da60d1586b5e9e6e8041bf + source_aarch64 = stakpak-linux-aarch64.tar.gz::https://github.com/stakpak/agent/releases/download/v0.2.60/stakpak-linux-aarch64.tar.gz + sha256sums_aarch64 = 2332fabde1832f3e9b1f36fa70f9c1b13475de2254bd765f859b4e77a8307704 + +pkgname = stakpak-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..3a050d3ab65bc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Arsany Samuel +pkgname=stakpak-bin +pkgver=0.2.60 +pkgrel=1 # increment this when you make changes to PKGBUILD +pkgdesc="Stakpak is a terminal-native DevOps Agent in Rust 🦀. It can run commands, edit files, search docs, and more. It has security super powers, and generates high quality IaC" +arch=('x86_64' 'aarch64') +url="https://stakpak.dev" +license=('Apache') +depends=('glibc' 'openssl') + +# Source URLs for different architectures +source_x86_64=("stakpak-linux-x86_64.tar.gz::https://github.com/stakpak/agent/releases/download/v${pkgver}/stakpak-linux-x86_64.tar.gz") +source_aarch64=("stakpak-linux-aarch64.tar.gz::https://github.com/stakpak/agent/releases/download/v${pkgver}/stakpak-linux-aarch64.tar.gz") + +package() { + # Install the main binary + install -Dm755 stakpak "${pkgdir}/usr/bin/stakpak" + + # Install license (from the source repository) + install -Dm644 "${srcdir}/../LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # Install documentation (from the source repository) + install -Dm644 "${srcdir}/../README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md" + + # Install man page if available + if [ -f "stakpak.1" ]; then + install -Dm644 stakpak.1 "${pkgdir}/usr/share/man/man1/stakpak.1" + fi +} + +# Generated checksums using makepkg -g +sha256sums_x86_64=('16ba0eae8339327fb40c0072b645545d3f3704bd00da60d1586b5e9e6e8041bf') +sha256sums_aarch64=('2332fabde1832f3e9b1f36fa70f9c1b13475de2254bd765f859b4e77a8307704')