nixpkgs-suyu/pkgs/misc/tex/polytable/builder.sh
Andres Löh 1cb9fc74b7 * added propagated-user-env-packages for lhs2tex and polytable
svn path=/nixpkgs/trunk/; revision=9195
2007-08-24 20:15:00 +00:00

18 lines
525 B
Bash

source $stdenv/setup
buildPhase=true
installPhase=myInstallPhase
myInstallPhase() {
ensureDir "$out/share/texmf-nix/tex/latex/polytable"
ensureDir "$out/share/texmf-nix/doc/latex/polytable"
latex polytable.ins
pdflatex polytable.dtx
pdflatex polytable.dtx
cp polytable.sty "$out/share/texmf-nix/tex/latex/polytable"
cp polytable.pdf "$out/share/texmf-nix/doc/latex/polytable"
ensureDir "$out/nix-support"
echo "$propagatedUserEnvPackages" > "$out/nix-support/propagated-user-env-packages"
}
genericBuild