#!/bin/sh # test we are root if [ "$(id -u)" != "0" ]; then exit 1 fi # no flags grab a header P=xkbcommon-woodland V=1.6.0 USER=`cat /etc/sysconfig/tcuser` LIST="submitqc libxkbcommon-dev " for Z in $LIST do su -c "tce-load -i $Z" $USER done cd /tmp wget -nc --no-check-certificate \ https://xkbcommon.org/download/libxkbcommon-1.6.0.tar.xz tar xvf libxk*xz # main ###### mkdir -p $P/usr/local/share/doc/$P $P/usr/local/include/xkbcommon cp libxkbcommon-1.6.0/LICENSE $P/usr/local/share/doc/$P/ cp libxkbcommon-1.6.0/include/xkbcommon/xkbcommon-keysyms.h $P/usr/local/include/xkbcommon # TCZ them ####### LIST="$P " for Z in $LIST do mksquashfs $Z $Z.tcz md5sum $Z.tcz > $Z.tcz.md5.txt cd $Z find . -not -type d | cut -c 2- | sort > /tmp/$Z.tcz.list cd /tmp done ls -hal echo 'Title: xkbcommon-woodland.tcz Description: header file to allow woodland kb bindings Version: 1.6.0 Author: Daniel Stone Original-site: https://xkbcommon.org Copying-policy: accompanied Size: 56K Extension_by: aus9 @linuxquestions.org Tags: wayland compositor woodland Comments: This header is needed by woodland compositor for keyboard shortcuts Change-log: 2025/12/03 v 1.6.0 on 16x Current: 2025/12/03 ' > $P.tcz.info # no dep its a header submitqc --libs rm -rf *.zsync