[aur-general] "install" recursive?
Ray Rashif
schiv at archlinux.org
Wed Nov 30 14:02:52 EST 2011
On 1 December 2011 01:25, Piotr Rogoża <rogoza.piotr at 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
More information about the aur-general
mailing list