Update resolution-hooks from 2023.01.17_1 to 2023.01.21_1

This commit is contained in:
KF-Art 2023-01-28 11:55:46 -06:00
parent de6cd1fbea
commit e1d7ec7921

View file

@ -1,7 +1,8 @@
# Template file for 'resolution-hooks' # Template file for 'resolution-hooks'
pkgname=resolution-hooks pkgname=resolution-hooks
version=2023.01.17 version=2023.01.21
revision=1 revision=1
hostmakedepends="git"
depends="xeventbind" depends="xeventbind"
repository="cereus-extra" repository="cereus-extra"
short_desc="Custom hooks when monitor resolution changes" short_desc="Custom hooks when monitor resolution changes"
@ -9,14 +10,17 @@ maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://github.com/CereusLinuxProject/resolution-hooks" homepage="https://github.com/CereusLinuxProject/resolution-hooks"
changelog="${homepage}/commits/main" changelog="${homepage}/commits/main"
distfiles="${homepage}/archive/refs/heads/main.zip"
checksum=bbcb4b1c73842ac1a6bd18a871b73e32128f2dfe876f6b354a8b7b4e3c892620 do_fetch() {
git clone ${homepage} ${wrksrc}
}
do_install() { do_install() {
vbin ${pkgname} for f in resolution-{hooks,monitor}; do
vbin resolution-monitor vbin ${f}
vmkdir usr/share/resolution-hooks.d vinstall ${f}.desktop 0644 etc/xdg/autostart/
vinstall resolution-monitor.desktop 0644 etc/xdg/autostart/ done
vdoc README.md vdoc README.md
vlicense LICENSE vlicense LICENSE
} }