shrub/nix/nixcrpkgs/pkgs/xorg-macros/license_builder.sh

15 lines
159 B
Bash
Raw Normal View History

source $setup
tar -xf $src
mv util-macros-* xorg-macros
license=$(cat xorg-macros/COPYING)
cat > $out <<EOF
<h2>xorg-macros</h2>
<pre>
$license
</pre>
EOF