From 1b52fb554491e387778920497ff55ed2b81af2be Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Sun, 24 Jul 2016 19:17:31 +0200 Subject: network/graphite-carbon: Updated for version 0.9.15. Signed-off-by: Mario Preksavec --- network/graphite-carbon/graphite-carbon.SlackBuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'network/graphite-carbon/graphite-carbon.SlackBuild') diff --git a/network/graphite-carbon/graphite-carbon.SlackBuild b/network/graphite-carbon/graphite-carbon.SlackBuild index e1a1d32a0e50..8f44bdc5b8cd 100644 --- a/network/graphite-carbon/graphite-carbon.SlackBuild +++ b/network/graphite-carbon/graphite-carbon.SlackBuild @@ -23,12 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=graphite-carbon -VERSION=${VERSION:-0.9.13_pre1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.9.15} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=carbon -SRCVER=${SRCVER:-0.9.13-pre1} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -77,9 +76,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCVER -tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz -cd $SRCNAM-$SRCVER +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -116,7 +115,7 @@ for i in $PKG/etc/carbon/*.example ; do mv $i ${i/.example/.new} ; done for i in $PKG/usr/bin/*.py ; do mv $i ${i/.py/} ; done # Cruft removal -rm -rf $PKG/usr/storage +rm -rf $PKG/usr/{storage,examples} # Manpages thanks to Debian folks! mkdir -p $PKG/usr/man -- cgit v1.2.3