mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Update to version 0.0.1754050083
- Update pkgver to 0.0.1754050083 - Update download URLs for new release - Update SHA256 checksums for x86_64 and aarch64 Automated update from GitHub Actions
This commit is contained in:
parent
0d7701aaf8
commit
355210f433
2 changed files with 15 additions and 15 deletions
12
.SRCINFO
12
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = ampcode
|
||||
pkgdesc = An agentic coding tool, in research preview from Sourcegraph
|
||||
pkgver = 0.0.1754024802
|
||||
pkgver = 0.0.1754050083
|
||||
pkgrel = 1
|
||||
url = https://ampcode.com
|
||||
arch = x86_64
|
||||
|
|
@ -10,11 +10,11 @@ pkgbase = ampcode
|
|||
provides = amp
|
||||
conflicts = amp
|
||||
replaces = sourcegraph-amp
|
||||
replaces = ampcode-com
|
||||
replaces = ampcode
|
||||
options = !strip
|
||||
source_x86_64 = amp-0.0.1754024802-x86_64::https://github.com/sourcegraph/amp-cli/releases/download/v0.0.1754024802/amp-linux-x64
|
||||
sha256sums_x86_64 = aabef5e6484aed7d2226f23160a3e08e98a0a9fe178f47c10ac25decde966f4e
|
||||
source_aarch64 = amp-0.0.1754024802-aarch64::https://github.com/sourcegraph/amp-cli/releases/download/v0.0.1754024802/amp-linux-arm64
|
||||
sha256sums_aarch64 = a1bb4b2a82d1bd94c68bc596e5b5bb356561c7f86835c6fca7be0603e1012161
|
||||
source_x86_64 = ampcode-0.0.1754050083-x86_64::https://packages.ampcode.com/binaries/v0.0.1754050083/amp-linux-x64
|
||||
sha256sums_x86_64 = 31a8bbdcb345bac6fea68c2fdb86f3c874818069335f7fb04812d4e4bf2e6b90
|
||||
source_aarch64 = ampcode-0.0.1754050083-aarch64::https://packages.ampcode.com/binaries/v0.0.1754050083/amp-linux-arm64
|
||||
sha256sums_aarch64 = 167e5ebaace8e6d57175240cd387c2222d947339f9f74c9855bfc38f8ff109e5
|
||||
|
||||
pkgname = ampcode
|
||||
|
|
|
|||
18
PKGBUILD
18
PKGBUILD
|
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: Sourcegraph <support@sourcegraph.com>
|
||||
# Maintainer: Sourcegraph <amp-devs@sourcegraph.com>
|
||||
|
||||
pkgbase=ampcode
|
||||
pkgname=ampcode
|
||||
pkgver=0.0.1754024802
|
||||
pkgver=0.0.1754050083
|
||||
pkgrel=1
|
||||
pkgdesc="An agentic coding tool, in research preview from Sourcegraph"
|
||||
arch=('x86_64' 'aarch64')
|
||||
|
|
@ -10,21 +10,21 @@ url="https://ampcode.com"
|
|||
license=('custom:proprietary')
|
||||
depends=('ripgrep')
|
||||
provides=('amp')
|
||||
replaces=('sourcegraph-amp' 'ampcode-com')
|
||||
replaces=('sourcegraph-amp' 'ampcode')
|
||||
conflicts=('amp')
|
||||
options=('!strip')
|
||||
|
||||
source_x86_64=("amp-0.0.1754024802-x86_64::https://github.com/sourcegraph/amp-cli/releases/download/v0.0.1754024802/amp-linux-x64")
|
||||
source_aarch64=("amp-0.0.1754024802-aarch64::https://github.com/sourcegraph/amp-cli/releases/download/v0.0.1754024802/amp-linux-arm64")
|
||||
source_x86_64=("${pkgname}-${pkgver}-x86_64::https://packages.ampcode.com/binaries/v${pkgver}/amp-linux-x64")
|
||||
source_aarch64=("${pkgname}-${pkgver}-aarch64::https://packages.ampcode.com/binaries/v${pkgver}/amp-linux-arm64")
|
||||
|
||||
sha256sums_x86_64=('aabef5e6484aed7d2226f23160a3e08e98a0a9fe178f47c10ac25decde966f4e')
|
||||
sha256sums_aarch64=('a1bb4b2a82d1bd94c68bc596e5b5bb356561c7f86835c6fca7be0603e1012161')
|
||||
sha256sums_x86_64=('31a8bbdcb345bac6fea68c2fdb86f3c874818069335f7fb04812d4e4bf2e6b90')
|
||||
sha256sums_aarch64=('167e5ebaace8e6d57175240cd387c2222d947339f9f74c9855bfc38f8ff109e5')
|
||||
|
||||
package() {
|
||||
# The downloaded binary needs to be renamed to amp for installation
|
||||
if [[ "$CARCH" == "x86_64" ]]; then
|
||||
install -Dm755 "${srcdir}/amp-0.0.1754024802-x86_64" "${pkgdir}/usr/bin/amp"
|
||||
install -Dm755 "${srcdir}/${pkgname}-${pkgver}-x86_64" "${pkgdir}/usr/bin/amp"
|
||||
elif [[ "$CARCH" == "aarch64" ]]; then
|
||||
install -Dm755 "${srcdir}/amp-0.0.1754024802-aarch64" "${pkgdir}/usr/bin/amp"
|
||||
install -Dm755 "${srcdir}/${pkgname}-${pkgver}-aarch64" "${pkgdir}/usr/bin/amp"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue