clearine: update to 0.7.

This commit is contained in:
Frank Steinborn 2019-08-29 13:25:37 +02:00 committed by Johannes
parent 79d96aeae7
commit 01be085ad6
1 changed files with 13 additions and 19 deletions

View File

@ -1,32 +1,26 @@
# Template file for 'clearine'
pkgname=clearine
version=0.5
version=0.7
revision=1
archs=noarch
build_style=gnu-makefile
depends="gtk+3 python3-gobject"
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="Orphaned <orphan@voidlinux.org>"
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=029d5ece64a0471d1978daa620f5f06c5757245f3fec240aade38c514b3a5145
checksum=18a1a6b8b726c430e848a6688c97cd095fc01d7b15907fac28a267155b69588d
conf_files="/etc/clearine.conf"
do_build() {
sed -i data/clearine.conf \
-e "s;^\(restart =\) .*;\1 reboot;" \
-e "s;^\(shutdown =\) .*;\1 poweroff;"
pre_build() {
sed -i src/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/*.svg; do
vinstall $f 644 usr/share/themes/Clearine-Fallback/clearine
done
vbin clearine
post_install() {
vconf src/data/clearine.conf
vlicense LICENSE
}