I'm sure, you know what your command "cd ~/usr/bin" means :-D
Your home folder contains subfolder "usr", and this, in turn, contains "bin". But it's weird, isn't it?
Sorry for that; it needed to be cd /usr/bin, not cd ~/usr/bin. I copied over a command I wrote a while back, before llev mentioned what the ~ does
cd /usr/lib/X11/app-defaults/XScreenSaver/
Weird, according to [1, 2] this path is... file, not a folder. You can't cd (change directory) to the file; you can change directory only to directory.
Made a mistake there as well; I thought xscreensaver (file) was in XScreenSaver folder, but that was incorrect (was directly in app-defaults) ; so deleted the extra folder and remade the package.
Function "genpkg_rules()" will never be called since you not using the "official way" of making the SliTaz packages, and you free, truly, to put here what you want... But you have been warned ;-)
If genpkg_rules(), as well as post_remove I assume ? are never called when packed using tazpkg, there's no point in me adding them at all. Can you tell me how I do need to include commands (under the tazpkg-package method) so they are executed ? Also, what's the "official way" of packing using tazwok; ie what commands are needed for this, and/or is there a manual (I always read the man pages, and also read http://doc.slitaz.org/en:cookbook:wok, but that didn't help me (only the making of a "personal wok" is briefly explained, not the way to build packages suitable for upload to the slitaz server))?
Please, put your packages to the one of the File Sharing services, and put here links, so I can download, and extract your packages.
As mentioned, I've been putting my packages at https://drive.google.com/drive/folders/0B0Orq8VMiN7QMndGZndMTTl5a0E
It should be downloadable using firefox/pale moon (not sure about xombrero/tazweb).
I'll mail them to you as well.
Perhaps you can improve the description file of at least 1 of the packages (ie gajim-OTR) so I know how to make the commands executable, and can finish the rest of the first batch of packages ?