blob: 2681b9f2daadb18a186d08173d6598303f322f4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Arsany Samuel <arsanysamuel.as@gmail.com>
pkgname=stakpak-bin
pkgver=0.3.88
pkgrel=1
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"
"LICENSE::https://raw.githubusercontent.com/stakpak/agent/v${pkgver}/LICENSE"
"README.md::https://raw.githubusercontent.com/stakpak/agent/v${pkgver}/README.md"
)
source_aarch64=(
"stakpak-linux-aarch64.tar.gz::https://github.com/stakpak/agent/releases/download/v${pkgver}/stakpak-linux-aarch64.tar.gz"
"LICENSE::https://raw.githubusercontent.com/stakpak/agent/v${pkgver}/LICENSE"
"README.md::https://raw.githubusercontent.com/stakpak/agent/v${pkgver}/README.md"
)
# Generated checksums using updpkgsums
sha256sums_x86_64=('1e923d6b632e6bda743b3f48c40914f657853478647c26d0a47729a7728490c6'
'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4'
'2389ea9f7d95625e1255c693af3fe479f9607e26247e30aa7c8b7a8e5aca0359')
sha256sums_aarch64=('8312b611b5a635ea7411555f082b0fb3b6d644f99007d2c6a1f30fc6c13e725d'
'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4'
'2389ea9f7d95625e1255c693af3fe479f9607e26247e30aa7c8b7a8e5aca0359')
package() {
# Install the main binary
install -Dm755 stakpak "${pkgdir}/usr/bin/stakpak"
# Install license and readme (from the source repository)
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 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
}
|