New package: zzz-user-hooks-1.1.0
This commit is contained in:
parent
89f1a22a27
commit
529c396a1f
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'zzz-user-hooks'
|
||||
pkgname=zzz-user-hooks
|
||||
version=1.1.0
|
||||
revision=1
|
||||
archs=noarch
|
||||
build_style=gnu-makefile
|
||||
depends="bash"
|
||||
checkdepends="shellcheck"
|
||||
short_desc="Allow user scripts for logged in user using zzz suspend/resume"
|
||||
maintainer="Anjandev Momi <anjan@momi.ca>"
|
||||
license="MIT"
|
||||
homepage="https://www.daveeddy.com/2018/10/01/run-user-scripts-on-suspend-and-wakeup-on-void-linux/"
|
||||
distfiles="https://github.com/bahamas10/zzz-user-hooks/archive/v${version}.tar.gz"
|
||||
checksum=83fb98153b1906c85946efb18eaad52a95a297a36528f975ba006e650e8459bd
|
||||
|
||||
do_install() {
|
||||
vmkdir /etc/zzz.d/resume
|
||||
vmkdir /etc/zzz.d/suspend
|
||||
vinstall user-script 755 /etc/zzz.d
|
||||
vinstall hooks/resume/99-user-script 755 /etc/zzz.d/resume
|
||||
vinstall hooks/suspend/99-user-script 755 /etc/zzz.d/suspend
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in New Issue