mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 13:32:55 +02:00
parent
0d39d5f7cf
commit
6071f22fdf
1 changed files with 26 additions and 0 deletions
26
srcpkgs/oblogout/template
Normal file
26
srcpkgs/oblogout/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'oblogout'
|
||||||
|
pkgname=oblogout
|
||||||
|
version=0.2
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname}"
|
||||||
|
noarch=yes
|
||||||
|
build_style=python2-module
|
||||||
|
conf_files="/etc/oblogout.conf"
|
||||||
|
hostmakedepends="intltool python-distutils-extra"
|
||||||
|
depends="pygtk python-Pillow python-dbus"
|
||||||
|
short_desc="Logout script designed to be used in a Openbox desktop environment"
|
||||||
|
maintainer="cr6git <quark6@protonmail.com>"
|
||||||
|
homepage="https://launchpad.net/oblogout"
|
||||||
|
license="GPL-2"
|
||||||
|
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 '0,/on/s//on2/' "oblogout"/*.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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue