[Slackbuilds-users] Patches in `$PKG/usr/doc/$PRGNAM-$VERSION/`?

Kyle Guinn elyk03 at gmail.com
Tue Aug 11 04:44:50 UTC 2015


On 8/10/15, Thomas Szteliga <ts at websafe.pl> wrote:
> SlackBuild templates (and scripts) contain this line:
>
>
> ~~~~
> cat $CWD/$PRGNAM.SlackBuild \
>     > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
> ~~~~
>
>
> but what if a SlackBuild script requires patches applied
> during its execution. Shouldn't they be copied to
>
>
> 	$PKG/usr/doc/$PRGNAM-$VERSION/
>
> as well?
>
>
> For example, `arj` <http://slackbuilds.org/repository/14.1/system/arj/>
> requires a lot of patches
> <http://slackbuilds.org/slackbuilds/14.1/system/arj/patches/> but the
> SlackBuild script
> <http://slackbuilds.org/slackbuilds/14.1/system/arj/arj.SlackBuild>
> still contains only:
>
> ~~~~
> cat $CWD/$PRGNAM.SlackBuild \
>     > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
> ~~~~
>
>
> leaving the patches out.

I've noticed this as well.  Does anyone find it helpful that the
script is installed in /usr/doc?  Maybe we can omit it instead?

-Kyle


More information about the SlackBuilds-users mailing list