From 9fd9849a86aa4de51ca49e62de8d6cfb6c8a6cc7 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sat, 30 Sep 2023 20:11:56 +0200 Subject: feat: Add entry point caddy file --- apks/artifacts/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 apks/artifacts/APKBUILD (limited to 'apks/artifacts/APKBUILD') diff --git a/apks/artifacts/APKBUILD b/apks/artifacts/APKBUILD new file mode 100644 index 0000000..c5c5d71 --- /dev/null +++ b/apks/artifacts/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Gabriel Arakaki Giovanini +pkgname=artifacts +pkgver=0.0.0 +pkgrel=0 +pkgdesc="Meta package for artifacts.gabrielgio.me caddy entry file" +url="https://artifacts.gabrielgio.me" +arch="noarch" +license="MIT" +options="!check" # this can't be tested +builddir="$srcdir" +depends="caddy" +source=""$pkgname".caddyfile" + +build() { + echo "skipping build" +} + +package() { + pkgdesc="caddy configuration for $pkgname" + mkdir -p "$pkgdir"/etc/caddy/sites/ + install -Dm644 "$srcdir"/"$pkgname".caddyfile \ + "$pkgdir"/etc/caddy/sites/"$pkgname".caddyfile +} + +sha512sums=" +b062efa2977a6cbf08827b52014f059631a3b9daa5f53cdc36047af7fda4b071027629579937e4b39e206c211b19f96a8fc6ae9773836b73e612f86645dd4c93 artifacts.caddyfile +" -- cgit v1.2.3