# Template file for 'clearine' pkgname=clearine version=0.4 revision=1 noarch=yes build_style=gnu-makefile depends="gtk+3 python3-gobject" short_desc="GTK3-based logout-window overlay for independent windowmanager" maintainer="Orphaned " license="MIT" homepage="https://github.com/yuune/clearine" distfiles="https://github.com/yuune/clearine/archive/${version}.tar.gz" checksum=e00876d2047890499fef20a21966e7445a107dbacdfb59a7e08ed3d94fa9929b conf_files="/etc/clearine.conf" do_build() { sed -i data/clearine.conf \ -e "s;^\(restart =\) .*;\1 reboot;" \ -e "s;^\(shutdown =\) .*;\1 poweroff;" } do_install() { local f vmkdir usr/share/themes/Clearine-Fallback/clearine vconf data/clearine.conf for f in data/theme-default/*.svg; do vinstall $f 644 usr/share/themes/Clearine-Fallback/clearine done vbin clearine.py clearine vlicense LICENSE }