You are not logged in.

#1 2013-01-10 11:43:26

Registered: 2013-01-10
Posts: 1

Copy files to "$srcdir/_gitname" after downloading

For a PKGBUILD, i get the sourcefiles out of a git-repository. It puts the files in "$srcdir/_gitname". Additionalle, there are some files in the tar.gz-package which have to be in "$srcdir/_gitname", but are put in "$srcdir" by makekpkg. Is there any possibility to copy these files before the build process?


#2 2013-01-10 12:49:30

Forum Fellow
From: Earth, unfortunately
Registered: 2011-11-29
Posts: 18,304

Re: Copy files to "$srcdir/_gitname" after downloading


mv $srcdir/<file> $srcdir/$_gitname/

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman


Board footer

Powered by FluxBB