void-packages/srcpkgs/vpnd/template
Benjamin Slade ef0a7162dc vpnd: update to 0.1.2.1
* 0.1.2.1
- in package
  - simplify connectivity check to use ping (+ fixes)

- in template:
  - add relevant conf_files field

- in install msgs:
  - condense to 2 lines

* 0.1.2
- Breaking changes:
   - in vpnd.conf, icons are referenced _without_ the `icon:` prefix in the path
     - also new settings introduced
   - `yad` removed from dependencies since notification option
  introduced (users who want systray icon should (re)install `yad`)

- Improvements:
   - optional notifications via notify-send(.sh)
   - connectivity check (if ncat/nmap/curl are installed)
   - ability to run w/o yad (if no systray is desired) via notify-send(.sh)
   - fixes to formatting of `xbps` update output
2020-05-20 12:24:59 +02:00

21 lines
590 B
Bash

# Template file for 'vpnd'
pkgname=vpnd
version=0.1.2.1
revision=1
archs=noarch
depends="bash"
conf_files="/etc/vpnd.conf"
short_desc="Package update notifier daemon for Void Linux"
maintainer="Benjamin Slade <slade@lambda-y.net>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/emacsomancer/vpnd"
distfiles="https://gitlab.com/emacsomancer/vpnd/-/archive/${version}/${pkgname}-${version}.tar.gz"
checksum=a69066f28f3c65fad4718b35d9e75f7e5b82b85e0fb1f0cdbaea82eae259a69a
do_install() {
vbin vpnd
vmkdir usr/share/icons/vpnd
vcopy "*.png" usr/share/icons/vpnd
vconf vpnd.conf
}