AdGuardHome/packaging/snap/snapcraft.yaml

44 lines
1.2 KiB
YAML
Raw Normal View History

2020-04-23 14:18:58 +01:00
name: adguard-home
2020-04-21 14:25:29 +01:00
base: core18
version: 'dev_version'
summary: Network-wide ads & trackers blocking DNS server
description: |
AdGuard Home is a network-wide software for blocking ads & tracking. After
you set it up, it'll cover ALL your home devices, and you don't need any
client-side software for that.
2020-04-22 23:05:31 +01:00
2020-04-21 14:25:29 +01:00
It operates as a DNS server that re-routes tracking domains to a "black hole,"
thus preventing your devices from connecting to those servers. It's based
on software we use for our public AdGuard DNS servers -- both share a lot
of common code.
grade: stable
confinement: strict
2020-06-26 12:19:29 +01:00
architectures:
- build-on: amd64
- build-on: armhf
- build-on: i386
- build-on: arm64
2020-04-21 14:25:29 +01:00
parts:
2020-06-26 12:19:29 +01:00
web-launcher:
plugin: dump
source: snap/local
2020-04-21 14:25:29 +01:00
adguard-home:
plugin: make
source: .
build-snaps: [ node/13/stable, go ]
build-packages: [ git, build-essential ]
override-build: |
make clean
make
cp AdGuardHome ${SNAPCRAFT_PART_INSTALL}/
apps:
adguard-home:
2020-04-23 23:15:53 +01:00
command: AdGuardHome -w ${SNAP_DATA} --no-check-update
2020-04-21 14:25:29 +01:00
plugs: [ network-bind ]
daemon: simple
2020-06-26 12:19:29 +01:00
restart-condition: always
adguard-home-web:
command: adguard-home-web.sh
plugs: [desktop]