From 4dec1f213c82f9ace83a974d684a1835abbbcefa Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 28 Dec 2014 13:54:16 +0000 Subject: rubygem-template.SlackBuild: Fix documentation copying. Signed-off-by: David Spencer --- rubygem-template.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rubygem-template.SlackBuild b/rubygem-template.SlackBuild index 77826cc..3301f10 100644 --- a/rubygem-template.SlackBuild +++ b/rubygem-template.SlackBuild @@ -144,9 +144,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr # to adjust your script as needed # Also, include the SlackBuild script in the documentation directory mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - \ - $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \ + | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Copy the slack-desc (and a custom doinst.sh if necessary) into ./install -- cgit v1.2.3