pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

busybox-diffutils (391B)


      1 {% extends "base" %}
      2 {%- block body %}
      3 #+{{pkg_install_name("busybox")}}
      4 
      5 mkdir -p "$pthbs_destdir{{versions}}/$pthbs_package"
      6 cd "$pthbs_destdir{{versions}}/$pthbs_package"
      7 bb=$(which busybox)
      8 mkdir command
      9 for exe in cmp diff; do
     10 	ln -sf "$bb" command/$exe
     11 	printf '%s\t%s\n' "./command/$exe" "./command/$exe" >>.install-links.new 
     12 done
     13 mv .install-links.new .install-links
     14 {% endblock %}