feat: add Arch Linux package and CI workflow
Some checks failed
Build and Publish APK Package / build-apk (push) Failing after 42s
Build and Publish Arch Package / build-arch (push) Failing after 1s
Build and Push Docker Container / build-and-push (push) Successful in 1m48s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 04:00:51 +02:00
parent 63c33937ee
commit bc798f7bf2
2 changed files with 75 additions and 0 deletions

23
packaging/arch/PKGBUILD Normal file
View File

@@ -0,0 +1,23 @@
# Maintainer: Elias Kohout <elias@kohout.de>
pkgname=axolotl
pkgver=0.1.0
pkgrel=1
pkgdesc="CLI-native issue tracker using SQLite"
arch=('x86_64' 'aarch64')
url="https://g.eliaskohout.de/eliaskohout/axolotl"
license=('MIT')
makedepends=('go')
source=("$pkgname-$pkgver.tar.gz::https://g.eliaskohout.de/eliaskohout/axolotl/archive/v$pkgver.tar.gz")
sha512sums=('SKIP')
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"
}