improve error handling, reduce redundant xbps calls, other - simplify and improve handling of errors - just call xbps-install -Munv once and store output - kill any existing update process on left-click (so not have wait to recheck)
20 lines
588 B
Bash
20 lines
588 B
Bash
# Template file for 'vpnd'
|
|
pkgname=vpnd
|
|
version=0.1.3
|
|
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=1e06a2b969222b39071fd302e58e6ff13978def30d680c55649bd033e1ff41c7
|
|
|
|
do_install() {
|
|
vbin vpnd
|
|
vmkdir usr/share/icons/vpnd
|
|
vcopy "*.png" usr/share/icons/vpnd
|
|
vconf vpnd.conf
|
|
}
|