[download]

local/bin/dragndrop

   1 #!/bin/bash
   2 
   3 command -v dragon >&- || cc ~/.local/src/dragon.c \
   4 -o ~/.local/bin/dragon `pkg-config --cflags --libs gtk+-3.0`
   5 
   6 args=()
   7 
   8 while getopts xtkpav OPT; do args+="-$OPT "; done
   9 shift $(( OPTIND - 1 ))
  10 
  11 dragon ${args[@]} "$@"