dev-util/immich-go - 0.22.1 (xira)

Search

Package Information

Description:
Go alternative for immich-CLI
Homepage:
https://github.com/simulot/immich-go
License:
AGPL-3

Ebuild Details

Version EAPI Keywords Slot
0.22.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Kirixetamine <revelation@krxt.dev>
# Distributed under the terms of the ISC License

EAPI=8

inherit go-module

DESCRIPTION="Go alternative for immich-CLI"
HOMEPAGE="
	https://github.com/simulot/immich-go
"

SRC_URI="
	https://github.com/simulot/immich-go/archive/${PV}.tar.gz -> ${P}.tar.gz
	https://dist.krxt.dev/dev-util/immich-go/${P}-vendor.tar.xz
	"
S="${WORKDIR}/${P}"

LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"

RESTRICT="mirror"

src_compile() {
	ego build -v -ldflags "-X 'main.version=${PV}' -X 'main.builtBy=xira'" -trimpath
}

src_install() {
	default
	dobin ${PN}

	einstalldocs
}

Manifest for 0.22.1

Type File Size Source URLs
DIST immich-go-0.22.1-vendor.tar.xz 27907276 bytes https://dist.krxt.dev/dev-util/immich-go/immich-go-0.22.1-vendor.tar.xz
DIST immich-go-0.22.1.tar.gz 66884563 bytes https://github.com/simulot/immich-go/archive/0.22.1.tar.gz