nixpkgs/pkgs/applications/misc/zathura/builder.sh
Sergey Mironov d339184bbf zathura: version 0.1.2 with plugins
Expression handles new modular structure of zathura and adds support for djvu,
pdf and ps plugins.
2012-08-16 18:25:52 +04:00

12 lines
163 B
Bash

source $stdenv/setup
mkdir -pv $out/bin/
cat > $out/bin/zathura <<EOF
#!/bin/sh
exec $zathura --plugins-dir=$plugins_path "\$@"
EOF
chmod 755 $out/bin/zathura