Files
2026-11-04 04:58:48 -08:00

49 lines
1.5 KiB
YAML

name: luphoto
arch: ${GOARCH}
platform: linux
version: ${VERSION}
version_schema: none
section: web
priority: optional
maintainer: Guoliang Chen <[email protected]>
description: |
Static, tiled photo site for photos.luciochen.com.
Reads album folders, cuts photos into 512 px tiles with libvips and
publishes a static site that a browser stitches back together.
homepage: https://photos.luciochen.com
depends:
- libvips-tools
- passwd
contents:
- src: dist/package/luphoto
dst: /usr/bin/luphoto
file_info:
mode: 0755
- src: packaging/config.toml
dst: /etc/luphoto/config.toml
type: config|noreplace
file_info:
mode: 0644
- src: packaging/luphoto.service
dst: /usr/lib/systemd/system/luphoto.service
file_info:
mode: 0644
- src: packaging/Caddyfile
dst: /usr/share/doc/luphoto/examples/Caddyfile
- src: packaging/Caddyfile.serve
dst: /usr/share/doc/luphoto/examples/Caddyfile.serve
- src: packaging/nginx.conf
dst: /usr/share/doc/luphoto/examples/nginx.conf
- src: packaging/nginx.serve.conf
dst: /usr/share/doc/luphoto/examples/nginx.serve.conf
- src: packaging/cloudflared.yml
dst: /usr/share/doc/luphoto/examples/cloudflared.yml
- src: packaging/cloudflare.md
dst: /usr/share/doc/luphoto/cloudflare.md
- src: README.md
dst: /usr/share/doc/luphoto/README.md
scripts:
postinstall: packaging/scripts/postinstall.sh
preremove: packaging/scripts/preremove.sh
postremove: packaging/scripts/postremove.sh