It's better to use a primer before your eye makeup such as NYX eye shadow base which is the perfect base for applying makeup.
You could prime your eyes with foundation, translucent powder and powder eyeshadow to give your eyeliner the best chance of sticking around.