mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Remove PKGBUILD.template from ampcode
This commit is contained in:
parent
e429ec064e
commit
defc4da5e6
1 changed files with 0 additions and 30 deletions
|
|
@ -1,30 +0,0 @@
|
|||
# Maintainer: Sourcegraph <support@sourcegraph.com>
|
||||
|
||||
pkgbase=ampcode-com
|
||||
pkgname=ampcode-com
|
||||
pkgver=REPLACE_WITH_VERSION
|
||||
pkgrel=1
|
||||
pkgdesc="An agentic coding tool, in research preview from Sourcegraph"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://ampcode.com"
|
||||
license=('custom:proprietary')
|
||||
depends=('ripgrep')
|
||||
provides=('amp')
|
||||
replaces=('sourcegraph-amp' 'ampcode-com')
|
||||
conflicts=('amp')
|
||||
options=('!strip')
|
||||
|
||||
source_x86_64=("${pkgname}-${pkgver}-x86_64::https://github.com/sourcegraph/amp-cli/releases/download/v${pkgver}/amp-linux-x64")
|
||||
source_aarch64=("${pkgname}-${pkgver}-aarch64::https://github.com/sourcegraph/amp-cli/releases/download/v${pkgver}/amp-linux-arm64")
|
||||
|
||||
sha256sums_x86_64=('REPLACE_WITH_LINUX_AMD64_SHA256')
|
||||
sha256sums_aarch64=('REPLACE_WITH_LINUX_ARM64_SHA256')
|
||||
|
||||
package() {
|
||||
# The downloaded binary needs to be renamed to amp for installation
|
||||
if [[ "$CARCH" == "x86_64" ]]; then
|
||||
install -Dm755 "${srcdir}/${pkgname}-${pkgver}-x86_64" "${pkgdir}/usr/bin/amp"
|
||||
elif [[ "$CARCH" == "aarch64" ]]; then
|
||||
install -Dm755 "${srcdir}/${pkgname}-${pkgver}-aarch64" "${pkgdir}/usr/bin/amp"
|
||||
fi
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue