Files
ax/packaging/alpine/APKBUILD
Elias Kohout e6a2e01d9d
Some checks failed
Build and Publish APK Package / build-apk (push) Failing after 15s
Build and Push Docker Container / build-and-push (push) Successful in 1m48s
Fix apk-publish: add build-base dep, net option, and apk update
2026-04-02 02:58:34 +02:00

28 lines
619 B
Plaintext

# Maintainer: Elias Kohout <elias@kohout.eu>
pkgname=axolotl
pkgver=0.1.0
pkgrel=0
pkgdesc="CLI-native issue tracker using SQLite"
url="https://g.eliaskohout.de/eliaskohout/axolotl"
arch="x86_64 aarch64"
license="MIT"
options="net"
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/src"
go build -ldflags="-s -w" -trimpath -o "$pkgname" .
}
package() {
install -Dm755 "$srcdir/src/$pkgname" "$pkgdir/usr/bin/$pkgname"
ln -s "$pkgname" "$pkgdir/usr/bin/ax"
}
sha512sums=""