diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:25:45 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:25:45 +0200 |
commit | 376ee74532daa4c8b06f24eb4d4829f56151fe1c (patch) | |
tree | 533becc8586353ad2d1b4300252853f21cb743d3 | |
parent | 0188448efabb225829dfce2a563cddcde3bc84aa (diff) | |
download | slackbuilds-376ee74532daa4c8b06f24eb4d4829f56151fe1c.tar.gz |
development/xml-twig: Updated for version 3.32
-rw-r--r-- | development/xml-twig/xml-twig.SlackBuild | 21 | ||||
-rw-r--r-- | development/xml-twig/xml-twig.info | 6 |
2 files changed, 14 insertions, 13 deletions
diff --git a/development/xml-twig/xml-twig.SlackBuild b/development/xml-twig/xml-twig.SlackBuild index 04d4c9ccb3..7d9018ddb1 100644 --- a/development/xml-twig/xml-twig.SlackBuild +++ b/development/xml-twig/xml-twig.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xml-twig -# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at> +# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=XML-Twig +SRCNAM=XML-Twig +PRGNAM=$(echo $SRCNAM | tr [:upper:] [:lower:]) VERSION=3.32 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} @@ -33,16 +34,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -PKGNAM=$(echo $PRGNAM | tr [:upper:] [:lower:]) - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -69,13 +68,13 @@ find $PKG -depth -type d -empty -exec rm -rf {} \; for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done ) -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a Changes README \ - $PKG/usr/doc/$PKGNAM-$VERSION -cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/xml-twig/xml-twig.info b/development/xml-twig/xml-twig.info index 0838a0c98d..04eea49123 100644 --- a/development/xml-twig/xml-twig.info +++ b/development/xml-twig/xml-twig.info @@ -2,7 +2,9 @@ PRGNAM="xml-twig" VERSION="3.32" HOMEPAGE="http://xmltwig.com/xmltwig/" DOWNLOAD="http://xmltwig.com/xmltwig/XML-Twig-3.32.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="3ab6e0c0666383bd517189dae8f067a5" -MAINTAINER="ppr:kut" -EMAIL="HMWiesinger@gmx.at" +MD5SUM_x86_64="" +MAINTAINER="pprkut" +EMAIL="pprkut@liwjatan.at" APPROVED="Erik Hanson" |