Files
ax/packaging/alpine/APKBUILD
Elias Kohout 8ab2e4348d
Some checks failed
Build and Publish APK Package / build-apk (amd64, x86_64) (push) Failing after 49s
Build and Publish APK Package / build-apk (arm64, aarch64) (push) Failing after 41s
Build and Publish Arch Package / build-arch (amd64, x86_64) (push) Failing after 1m5s
Build and Push Docker Container / build-and-push (push) Has been cancelled
Build and Publish Arch Package / build-arch (arm64, aarch64) (push) Has been cancelled
fix: disable strip and check in Alpine package build
Go binaries are already stripped via ldflags, and disable the check
warning since there's no test suite.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-02 04:32:04 +02:00

28 lines
662 B
Plaintext

# Maintainer: Elias Kohout <elias@kohout.de>
pkgname=axolotl
pkgver=0.1.0
pkgrel=0
pkgdesc="CLI-native issue tracker using SQLite"
url="https://g.eliaskohout.de/eliaskohout/ax"
arch="x86_64 aarch64"
license="MIT"
options="net !strip !check"
depends=""
makedepends="go build-base"
source="$pkgname-$pkgver.tar.gz::https://g.eliaskohout.de/eliaskohout/axolotl/archive/$pkgver.tar.gz"
export GOTOOLCHAIN=auto
build() {
cd "$srcdir/$pkgname-$pkgver/src"
go build -ldflags="-s -w" -trimpath -o "$pkgname" .
}
package() {
install -Dm755 "$srcdir/$pkgname-$pkgver/src/$pkgname" "$pkgdir/usr/bin/$pkgname"
ln -s "$pkgname" "$pkgdir/usr/bin/ax"
}
sha512sums=""