44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
# This is an example nfpm configuration file.
|
|
# Make sure to check the documentation at https://nfpm.goreleaser.com
|
|
#
|
|
# The lines below are called `modelines`. See `:help modeline`
|
|
# Feel free to remove those if you don't want/need to use them.
|
|
# yaml-language-server: $schema=https://nfpm.goreleaser.com/schema.json
|
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
|
|
|
name: "tytd2025"
|
|
arch: "any"
|
|
platform: "linux"
|
|
version: "1.0.0"
|
|
section: "default"
|
|
priority: "extra"
|
|
|
|
depends:
|
|
- crosslang
|
|
recommends:
|
|
- ffmpeg
|
|
maintainer: "Mike Nolan <tesses@tesses.net>"
|
|
description: Tesses YouTube Downloader
|
|
vendor: "Tesses"
|
|
homepage: "https://git.tesses.org/tesses50/tytd2025.git"
|
|
license: "GPLv3"
|
|
contents:
|
|
- src: "Tesses.YouTubeDownloader.Server/bin/tytd2025.crvm"
|
|
dst: "/opt/tytd2025/tytd2025.crvm"
|
|
- src: "Tesses.YouTubeDownloader.Server/bin/Tesses.YouTubeDownloader-*.crvm"
|
|
dst: "/opt/tytd2025/"
|
|
- src: "Tesses.YouTubeDownloader.Server/bin/Tesses.CrossLang.BuildEssentials-*.crvm"
|
|
dst: "/opt/tytd2025/"
|
|
- src: package/systemd/
|
|
dst: /etc/systemd/system/
|
|
type: tree
|
|
- src: package/usrbin/
|
|
dst: /usr/bin/
|
|
type: tree
|
|
file_info:
|
|
mode: 0755
|
|
|
|
scripts:
|
|
postinstall: ./package/postinstall.sh
|
|
preremove: ./package/preremove.sh
|