void-packages/srcpkgs/clearine/template

26 lines
736 B
Bash

# Template file for 'clearine'
pkgname=clearine
version=0.7
revision=6
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-gobject gtk+3 python3-cairo"
short_desc="GTK3-based logout-window overlay for independent windowmanager"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}