mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Initial stakpak-bin aur package
This commit is contained in:
commit
ae01cade80
2 changed files with 49 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -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
|
||||
33
PKGBUILD
Normal file
33
PKGBUILD
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Maintainer: Arsany Samuel <arsanysamuel.as@gmail.com>
|
||||
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')
|
||||
Loading…
Add table
Reference in a new issue