On 28.11.2011 21:38, Jonathan Steel wrote: > Hi, > > I was told it was best practice to use "install" rather than "mkdir" > and "cp" in a PKGBUILD, but how can you copy a directory and its > contents (recursively) using "install"? > > If you cannot, with a folder with lots of files, is it best practice > to list every file to copy with "install", or use one command to "cp" > the whole folder?
Hi,
Maybe tar? E.g.:
tar -c ./ | tar -x -C ${pkgdir}/...
--
Piotr Rogoża
