30 Nov
2011
30 Nov
'11
7:02 p.m.
On 1 December 2011 01:25, Piotr Rogoża <rogoza.piotr@gmail.com> wrote:
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
I think this is where we say "enough" :) -- GPG/PGP ID: C0711BF1