startup: update to 2.0.3

This commit is contained in:
Cameron Nemo 2021-09-19 02:28:20 -07:00 committed by Érico Nogueira Rolim
parent 9c6f662f69
commit 8ec98c80c0
1 changed files with 13 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'startup'
pkgname=startup
version=2.0.2
revision=3
version=2.0.3
revision=1
build_style=gnu-configure
configure_args="--disable-sysvcompat --disable-dconf-bridge --disable-cgroups"
make_dirs="/var/log/startup 0750 root adm"
@ -12,16 +12,21 @@ short_desc="Event driven task and service manager"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="GPL-2.0-only"
homepage="https://gitlab.com/chinstrap/startup"
changelog="${homepage}/raw/master/NEWS"
distfiles="${homepage}/-/archive/${version}/startup-${version}.tar.gz"
checksum=8b0709b6d7cf98d713550b8d98f928fdcf268328c1183a83be933c4205edcce6
changelog="https://gitlab.com/chinstrap/startup/raw/master/NEWS"
distfiles="https://gitlab.com/chinstrap/startup/-/archive/${version}/startup-${version}.tar.gz"
checksum=668fa38b2b4d4924309546c09a53690f4c5e31faf44be3f0e0ca826bf23f00f5
pre_configure() {
autoreconf -fi
}
post_install() {
rm -f -- "${DESTDIR}/usr/lib/libupstart.la"
local cmds="init-checkconf initctl2dot initctl reload restart start
startup startup-monitor status stop"
for cmd in ${cmds}; do
vcompletion "contrib/fish_completion/${cmd}.fish" fish "$cmd"
done
rm -- "${DESTDIR}/usr/lib/libupstart.la"
}
startup-tools_package() {
@ -33,6 +38,8 @@ startup-tools_package() {
vmove usr/share/icons
vmove usr/share/applications
vmove usr/share/man/man8/startup-monitor.8
vmove usr/share/fish/vendor_completions.d/startup-monitor.fish
vmove usr/share/fish/vendor_completions.d/initctl2dot.fish
}
}