[Slackbuilds-users] fix Jinja2 typo
Mikko Varri
vmj at linuxbox.fi
Fri Jun 24 09:08:32 UTC 2011
Thanks for pointing that out.
Am I missing something? Instead of changing PRGNAM to PKGNAM
everywhere, a smaller patch would change one instance of PGKNAM to
PRGNAM.
-cp -a docs/_build/html $PKG/usr/doc/$PRGNAM-$VERSION || cp -a docs $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a docs/_build/html $PKG/usr/doc/$PRGNAM-$VERSION || cp -a docs $PKG/usr/doc/$PRGNAM-$VERSION
PRGNAM is the right variable name for it, right?
Could one of the admins make that change?
On Fri, Jun 24, 2011 at 08:44:05AM +0800, Grissiom wrote:
> diff --git a/libraries/Jinja2/Jinja2.SlackBuild
> b/libraries/Jinja2/Jinja2.SlackBuild
> index 0a96b9d..b20307e 100644
> --- a/libraries/Jinja2/Jinja2.SlackBuild
> +++ b/libraries/Jinja2/Jinja2.SlackBuild
> @@ -49,13 +49,13 @@ fi
> find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
> | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
>
> -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
> -cp -a AUTHORS CHANGES LICENSE ext examples $PKG/usr/doc/$PRGNAM-$VERSION
> -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
> +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
> +cp -a AUTHORS CHANGES LICENSE ext examples $PKG/usr/doc/$PKGNAM-$VERSION
> +cp -a docs/_build/html $PKG/usr/doc/$PKGNAM-$VERSION || cp -a docs
> $PKG/usr/doc/$PKGNAM-$VERSION
> +cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
>
> mkdir -p $PKG/install
> cat $CWD/slack-desc > $PKG/install/slack-desc
>
> cd $PKG
> -/sbin/makepkg -l y -c n
> $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
> +/sbin/makepkg -l y -c n
> $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
More information about the SlackBuilds-users
mailing list