aboutsummaryrefslogtreecommitdiff
path: root/apks/artifacts/APKBUILD
blob: c5c5d71991c71b6eb381f760baa48c94cc3522ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
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
"