75 lines
2 KiB
YAML
75 lines
2 KiB
YAML
# Feel free to remove those if you don't want/need to use them.
|
|
# Make sure to check the documentation at https://nfpm.goreleaser.com
|
|
#
|
|
# The lines below are called `modelines`. See `:help modeline`
|
|
|
|
name: "core-ide"
|
|
arch: ${GOARCH}
|
|
platform: "linux"
|
|
version: "0.1.0"
|
|
section: "default"
|
|
priority: "extra"
|
|
maintainer: ${GIT_COMMITTER_NAME} <${GIT_COMMITTER_EMAIL}>
|
|
description: "Core IDE - Development Environment"
|
|
vendor: "Lethean Community Interest Company"
|
|
homepage: "https://host.uk.com"
|
|
license: "EUPL-1.2"
|
|
release: "1"
|
|
|
|
contents:
|
|
- src: "./bin/core-ide"
|
|
dst: "/usr/local/bin/core-ide"
|
|
- src: "./build/appicon.png"
|
|
dst: "/usr/share/icons/hicolor/128x128/apps/core-ide.png"
|
|
- src: "./build/linux/core-ide.desktop"
|
|
dst: "/usr/share/applications/core-ide.desktop"
|
|
# System-wide service (requires root)
|
|
- src: "./build/linux/core-ide.service"
|
|
dst: "/etc/systemd/system/core-ide.service"
|
|
type: config
|
|
# User service template (for per-user deployment)
|
|
- src: "./build/linux/core-ide.user.service"
|
|
dst: "/usr/share/core-ide/core-ide.user.service"
|
|
type: config
|
|
|
|
# Default dependencies for Debian 12/Ubuntu 22.04+ with WebKit 4.1
|
|
depends:
|
|
- libgtk-3-0
|
|
- libwebkit2gtk-4.1-0
|
|
|
|
# Distribution-specific overrides for different package formats and WebKit versions
|
|
overrides:
|
|
# RPM packages for RHEL/CentOS/AlmaLinux/Rocky Linux (WebKit 4.1)
|
|
rpm:
|
|
depends:
|
|
- gtk3
|
|
- webkit2gtk4.1
|
|
|
|
# Arch Linux packages (WebKit 4.1)
|
|
archlinux:
|
|
depends:
|
|
- gtk3
|
|
- webkit2gtk-4.1
|
|
|
|
# scripts section to ensure desktop database is updated after install
|
|
scripts:
|
|
postinstall: "./build/linux/nfpm/scripts/postinstall.sh"
|
|
# You can also add preremove, postremove if needed
|
|
# preremove: "./build/linux/nfpm/scripts/preremove.sh"
|
|
# postremove: "./build/linux/nfpm/scripts/postremove.sh"
|
|
|
|
# replaces:
|
|
# - foobar
|
|
# provides:
|
|
# - bar
|
|
# depends:
|
|
# - gtk3
|
|
# - libwebkit2gtk
|
|
# recommends:
|
|
# - whatever
|
|
# suggests:
|
|
# - something-else
|
|
# conflicts:
|
|
# - not-foo
|
|
# - not-bar
|
|
# changelog: "changelog.yaml"
|