8ddd61d984
[ci skip]
26 lines
898 B
Bash
26 lines
898 B
Bash
# Template file for 'oblogout'
|
|
pkgname=oblogout
|
|
version=0.2
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="${pkgname}"
|
|
build_style=python2-module
|
|
conf_files="/etc/oblogout.conf"
|
|
pycompile_module="oblogout"
|
|
hostmakedepends="intltool python-distutils-extra"
|
|
depends="pygtk python-dbus python-Pillow"
|
|
short_desc="Logout script designed to be used in a Openbox desktop environment"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2"
|
|
homepage="https://launchpad.net/oblogout"
|
|
distfiles="https://launchpad.net/oblogout/${version}/${version}.0/+download/${pkgname}-${version}.tar.bz2"
|
|
checksum=f80003b85e9f4f1c588675453ea03f40a86fc50546d509ceb69706eb045782a9
|
|
|
|
pre_configure() {
|
|
sed -i 's/fromstring/frombytes/' oblogout/__init__.py
|
|
|
|
sed -i 's|usehal = true|usehal = false|' data/oblogout.conf
|
|
sed -i 's|pmi action hibernate|ZZZ|' data/oblogout.conf
|
|
sed -i 's|pmi action suspend|zzz|' data/oblogout.conf
|
|
}
|
|
|