Compare commits

...

3 commits

Author SHA1 Message Date
Emma Nora Theuer
6f1d11a494 Update Version 2024-09-02 16:35:36 +02:00
Emma Nora Theuer
34590a6afe Several fixed and version update 2024-09-02 16:35:26 +02:00
Emma Nora Theuer
70f93f4405 Update version 2024-09-02 16:34:55 +02:00
2 changed files with 11 additions and 6 deletions

View file

@ -1 +1 @@
DIST wallman-1.4.2.1.tar.gz 862745 BLAKE2B 47c54bce3d783a3865ef1cec48a0905a1ad31412baed25db526b5febedc7ba37c553cc44468c7e94e8782d58d49b210aaf0a1176ad488e9053838b48f2e0f10e SHA512 ccca96a588879c8609944a331d7b35b5f5c049e139f671cc2ad97c17e4b957e902787050483798fbd935ae09e31ce2ea3bdc450d78de5c21a061ced1f88d15d7
DIST wallman-1.4.2.4.tar.gz 871198 BLAKE2B 02ccfa69e14b73eff667ecf4707fcebd08ba63362a6e25ae77bef96ff77d8723e417e14e8586f2b8a9e0b23f29a1be8b7e1c0cab10a7f242dc8a7b2fe418cfe4 SHA512 87f2cad40f6db418dc4a94a259b4c491e69fc0f7bdf121196679270492227449f79751f40467d6f50e4bf7598e38d78853818ac9df8cfa96a7dc34698128ac71

View file

@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/APScheduler[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pystray[${PYTHON_USEDEP}]
media-gfx/feh
x11-libs/libnotify
"
@ -28,9 +29,13 @@ BDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
"
python_prepare_all() {
src_prepare() {
distutils-r1_python_prepare_all
}
#src_prepare() {
# mv src/* . || die "Failed to move source files"
#}
python_compile() {
distutils-r1_python_compile -j1
}
@ -41,10 +46,7 @@ python_install() {
local target="/usr/bin/wallman"
local scriptpath="$(python_get_sitedir)/${scriptname}"
fperms +x "${scriptpath}"
dosym "$(python_get_sitedir)/${scriptname}" "${target}"
}
src_install() {
dosym "${scriptpath}" "${target}"
# Copy files into /etc/wallman
dodir /etc/wallman
insinto /etc/wallman
@ -59,6 +61,9 @@ src_install() {
newins "${S}/distfiles/wallman.desktop" "wallman.desktop"
}
#src_install() {
#}
pkg_postinst() {
elog "Wallman has been installed. A sample configuration file called wallman.toml is located in /etc/wallman. Copy that file into ~/.config/wallman/wallman.toml to configure wallman."
elog "A log file for Wallman can be found in /etc/log/wallman"