diff --git a/.SRCINFO b/.SRCINFO index 4fbe9dec1a360..f7f2f6846661c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ 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 + pkgrel = 2 url = https://stakpak.dev arch = x86_64 arch = aarch64 @@ -9,8 +9,16 @@ pkgbase = stakpak-bin 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 + source_x86_64 = LICENSE::https://raw.githubusercontent.com/stakpak/agent/main/LICENSE + source_x86_64 = README.md::https://raw.githubusercontent.com/stakpak/agent/main/README.md sha256sums_x86_64 = 16ba0eae8339327fb40c0072b645545d3f3704bd00da60d1586b5e9e6e8041bf + sha256sums_x86_64 = c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 + sha256sums_x86_64 = c838b8c0aaced6799edad85c283a03a087d6355011e651bb5df436c8df6d3632 source_aarch64 = stakpak-linux-aarch64.tar.gz::https://github.com/stakpak/agent/releases/download/v0.2.60/stakpak-linux-aarch64.tar.gz + source_aarch64 = LICENSE::https://raw.githubusercontent.com/stakpak/agent/main/LICENSE + source_aarch64 = README.md::https://raw.githubusercontent.com/stakpak/agent/main/README.md sha256sums_aarch64 = 2332fabde1832f3e9b1f36fa70f9c1b13475de2254bd765f859b4e77a8307704 + sha256sums_aarch64 = c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 + sha256sums_aarch64 = c838b8c0aaced6799edad85c283a03a087d6355011e651bb5df436c8df6d3632 pkgname = stakpak-bin diff --git a/PKGBUILD b/PKGBUILD index 3a050d3ab65bc..d1683442a5f73 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Arsany Samuel pkgname=stakpak-bin pkgver=0.2.60 -pkgrel=1 # increment this when you make changes to PKGBUILD +pkgrel=2 # 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" @@ -9,18 +9,24 @@ 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") +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" + "LICENSE::https://raw.githubusercontent.com/stakpak/agent/main/LICENSE" + "README.md::https://raw.githubusercontent.com/stakpak/agent/main/README.md" +) +source_aarch64=( + "stakpak-linux-aarch64.tar.gz::https://github.com/stakpak/agent/releases/download/v0.2.60/stakpak-linux-aarch64.tar.gz" + "LICENSE::https://raw.githubusercontent.com/stakpak/agent/main/LICENSE" + "README.md::https://raw.githubusercontent.com/stakpak/agent/main/README.md" +) 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 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 @@ -29,5 +35,9 @@ package() { } # Generated checksums using makepkg -g -sha256sums_x86_64=('16ba0eae8339327fb40c0072b645545d3f3704bd00da60d1586b5e9e6e8041bf') -sha256sums_aarch64=('2332fabde1832f3e9b1f36fa70f9c1b13475de2254bd765f859b4e77a8307704') +sha256sums_x86_64=('16ba0eae8339327fb40c0072b645545d3f3704bd00da60d1586b5e9e6e8041bf' + 'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4' + 'c838b8c0aaced6799edad85c283a03a087d6355011e651bb5df436c8df6d3632') +sha256sums_aarch64=('2332fabde1832f3e9b1f36fa70f9c1b13475de2254bd765f859b4e77a8307704' + 'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4' + 'c838b8c0aaced6799edad85c283a03a087d6355011e651bb5df436c8df6d3632')