void-packages/srcpkgs/clearine/template
2020-10-10 10:21:37 -04:00

26 lines
761 B
Bash

# Template file for 'clearine'
pkgname=clearine
version=0.7
revision=3
build_style=python3-module
pycompile_module="Clearine"
hostmakedepends="python3-setuptools"
depends="python3-gobject python3-cairo"
short_desc="GTK3-based logout-window overlay for independent windowmanager"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT"
homepage="https://github.com/yuune/clearine"
distfiles="https://github.com/yuune/clearine/archive/${version}.tar.gz"
checksum=18a1a6b8b726c430e848a6688c97cd095fc01d7b15907fac28a267155b69588d
conf_files="/etc/clearine.conf"
pre_build() {
sed -i src/data/clearine.conf \
-e "s;\(restart =\) .*;\1 reboot;" \
-e "s;\(shutdown =\) .*;\1 poweroff;"
}
post_install() {
vconf src/data/clearine.conf
vlicense LICENSE
}