From 4eeca75ca170ef1a0381fb53089a231c248f1b8a Mon Sep 17 00:00:00 2001 From: elbachir-one Date: Wed, 1 Jan 2025 17:38:46 +0100 Subject: [PATCH] New package: xcaddy-0.4.4 --- srcpkgs/xcaddy/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/xcaddy/template diff --git a/srcpkgs/xcaddy/template b/srcpkgs/xcaddy/template new file mode 100644 index 00000000000000..2f9b9181da5a82 --- /dev/null +++ b/srcpkgs/xcaddy/template @@ -0,0 +1,20 @@ +# Template file for 'xcaddy' +pkgname=xcaddy +version=0.4.4 +revision=1 +build_style=go +go_import_path="github.com/caddyserver/xcaddy" +short_desc="Build Caddy with plugins" +maintainer="elbachir-one " +license="GPL-3.0-or-later" +homepage="https://github.com/caddyserver/xcaddy" +distfiles="https://github.com/caddyserver/xcaddy/archive/refs/tags/v${version}.tar.gz" +checksum=5ba32eec2388638cebbe1df861ea223c35074528af6a0424f07e436f07adce72 + +do_build() { + go build -o xcaddy ./cmd/xcaddy +} + +do_install() { + install -Dm755 xcaddy ${DESTDIR}/usr/bin/xcaddy +}