33 lines
898 B
Bash
33 lines
898 B
Bash
# Template file for 'clearine'
|
|
pkgname=clearine
|
|
version=0.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
conf_files="/etc/clearine.conf"
|
|
depends="gtk+3 python3-gobject"
|
|
short_desc="GTK3-based logout-window overlay for independent windowmanager"
|
|
maintainer="cr6git <quark6@protonmail.com>"
|
|
homepage="https://github.com/yuune/clearine"
|
|
license="MIT"
|
|
distfiles="https://github.com/yuune/clearine/archive/${version}.tar.gz"
|
|
checksum=efc693928888e40c7e810572bfeb2e7aa6a2007d7070af05555f3757d9adb2e4
|
|
noarch=yes
|
|
|
|
do_build() {
|
|
sed -i data/config-* \
|
|
-e "s;^\(restart =\) .*;\1 reboot;" \
|
|
-e "s;^\(shutdown =\) .*;\1 poweroff;"
|
|
}
|
|
|
|
do_install() {
|
|
local f
|
|
|
|
vmkdir usr/share/themes/Clearine-Fallback/clearine
|
|
vinstall data/config-1080 644 etc 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
|
|
}
|