From 270c1ba7053478dbd1c632eea18d6e54d51e4ecc Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 22 Dec 2014 15:03:24 +0100 Subject: KDE 4.7.4 for Slackware 13.37 (06dec2011) --- kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh (limited to 'kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh') diff --git a/kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh b/kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh new file mode 100755 index 0000000..e4fb4b2 --- /dev/null +++ b/kde/pre-install/kdewebdev/tidy/get-tidy-cvs.sh @@ -0,0 +1,37 @@ +#!/bin/sh +# Copyright 2006, 2009 Patrick Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +# Fetch the latest CVS of Tidy. +# Clean the download location: +rm -rf tidy +cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login +CVS_VERSION=$(date +%Y%m%dT%R | tr -d :) +# Doubtful that these will exist, but... +rm -f tidy-${CVS_VERSION}.tar tidy-${CVS_VERSION}.tar.xz +cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy +# Rid ourselves of cruft: +( cd tidy ; find . -type d -name CVS -exec rm -rf {} \; 2> /dev/null ) +# Make tarball "release": +tar cf tidy-${CVS_VERSION}.tar tidy +xz -9 tidy-${CVS_VERSION}.tar +# Clean up: +rm -rf tidy -- cgit v1.2.3