* updated korganizer (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / contrib / powerapplet_tray / powerapplet_tray.conf
blob0133e2aff4c03f2116fc43fb8741aa6097dea0d6
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/powerapplet_tray/powerapplet_tray.conf
3 # Copyright (C) 2021 - 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 function build_patray {
13     #./compile
14     rm -f powerapplet_tray
15     rm -f powerapplet_tray.pot
16     $CC `pkg-config --cflags --libs gtk+-2.0` powerapplet_tray.c -o powerapplet_tray
17     xgettext --keyword="_" powerapplet_tray.c  -o powerapplet_tray.pot
18     if [ -f powerapplet_tray ];then
19         mkdir -p $root/root/Startup
20         cp -a -f powerapplet_tray $root/root/Startup/
21         mkdir -p $root/usr/share/doc/nls/powerapplet_tray
22         cp -a -f powerapplet_tray.pot $root/usr/share/doc/nls/powerapplet_tray/
23     fi
25 makeopt=
26 makeinstopt=
27 hook_add postmake 5 "build_patray"
29 #oh dear, installs into root/Startup, but T2 doesn't put it into the binary tarball.
30 flistroot='root usr var'