forked from mirrors/nixpkgs
d339184bbf
Expression handles new modular structure of zathura and adds support for djvu, pdf and ps plugins.
12 lines
163 B
Bash
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
|
|
|