blob: 6a47385d438c79fa44cad107603de58629ac5bc6 (
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
|
# Maintainer: DimAgent <app@fazhitech.com>
# Generated by scripts/generate-cli-aur-package.mjs — do not edit by hand.
pkgname=dimcode-bin
pkgver=0.5.1
pkgrel=1
pkgdesc="AI coding agent CLI and terminal coding assistant"
arch=('x86_64' 'aarch64')
url="https://github.com/arcships/dimcode"
license=('LicenseRef-DimAgent-EULA')
depends=('glibc')
provides=('dimcode')
conflicts=('dimcode-bin-beta')
# The payload is a single-file executable with its runtime appended after the
# ELF sections. makepkg strips binaries by default, which corrupts it.
options=('!strip' '!debug' '!lto')
source=("LICENSE-$pkgver::https://github.com/arcships/dimcode/releases/download/v0.5.1/LICENSE")
sha256sums=('207c5f7b94bab2649590458fb3d54d2c53db886536a8da0ca4207d96eb332f08')
source_x86_64=("dimcode-0.5.1-linux-x64.tar.gz::https://github.com/arcships/dimcode/releases/download/v0.5.1/dimcode-0.5.1-linux-x64.tar.gz")
sha256sums_x86_64=('c2f8543d448c60fb52c9167b060e3e58d08793b4049c5a13859ac4697382cb75')
source_aarch64=("dimcode-0.5.1-linux-arm64.tar.gz::https://github.com/arcships/dimcode/releases/download/v0.5.1/dimcode-0.5.1-linux-arm64.tar.gz")
sha256sums_aarch64=('235c1546cb22bd4bcd719d0912de1c403a74a1f4a2bd07770d92d2c960a7ba09')
package() {
local target=linux-x64
[[ $CARCH == aarch64 ]] && target=linux-arm64
install -Dm755 "$srcdir/$target/dimcode" "$pkgdir/usr/bin/dimcode"
ln -s dimcode "$pkgdir/usr/bin/dim"
install -Dm644 "$srcdir/LICENSE-$pkgver" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|