# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/xarchive/xarchive.conf # Copyright (C) 2021 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- xarchive_pot() { cd src [ -f xarchive.pot ] && rm -f xarchive.pot xgettext --keyword="_" main.c widgets_gtk.c myfc_gtk.c -o xarchive.pot mkdir -p $root/usr/share/doc/nls/xarchive install -m644 xarchive.pot $root/usr/share/doc/nls/xarchive cd .. } hook_add postmake 5 "xarchive_pot"