diff options
author | Eric Hameleers <alien@slackware.com> | 2010-10-17 21:29:41 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2010-10-17 21:29:41 +0000 |
commit | fabbe7457587394e16838a0bb2f67f74fee68428 (patch) | |
tree | 79a0714613bf5db60b32cfa7f99a41d8dfce7b73 /pastebinit/build | |
parent | 28aa03f171d265d5d5baffeeed33ab59c46bfcb9 (diff) | |
download | asb-fabbe7457587394e16838a0bb2f67f74fee68428.tar.gz asb-fabbe7457587394e16838a0bb2f67f74fee68428.tar.xz |
Updated for Slackware 13.1
Diffstat (limited to 'pastebinit/build')
-rwxr-xr-x | pastebinit/build/pastebinit.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pastebinit/build/pastebinit.SlackBuild b/pastebinit/build/pastebinit.SlackBuild index bdafb4c6..1928995f 100755 --- a/pastebinit/build/pastebinit.SlackBuild +++ b/pastebinit/build/pastebinit.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright (c) 2010 Eric Hameleers <alien@slackware.com> +# Copyright 2010 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -32,6 +32,8 @@ # Changelog: # 1.0-1: 13/Mar/2010 by Eric Hameleers <alien@slackware.com> # * Initial build. +# 1.1-1: 17/oct/2010 by Eric Hameleers <alien@slackware.com> +# * Updated for Slackware 13.1 # # Run 'sh pastebinit.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -42,7 +44,7 @@ # Set initial variables: PRGNAM=pastebinit -VERSION=${VERSION:-1.0} +VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} ARCH="noarch" NUMJOBS=${NUMJOBS:" -j4 "} @@ -61,7 +63,6 @@ OUTPUT=${OUTPUT:-/tmp} SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz" SRCURL="http://launchpad.net/pastebinit/trunk/${VERSION}/+download/${PRGNAM}-${VERSION}.tar.gz" - ## ## --- with a little luck, you won't have to edit below this point --- ## ## @@ -126,7 +127,7 @@ cat $SRCDIR/pastebinit_pbc.diff | patch -p0 --verbose \ 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log chown -R root:root . -chmod -R u+w,go+r-w,a-s . +chmod -R u+w,go+r-w,a+X-s . echo Building ... install -d $PKG/{etc/pastebin.d,/usr/bin,/usr/share/locale,/usr/man/man1} @@ -160,9 +161,7 @@ cd $OUTPUT md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz} > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz}.md5 cd - cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt -if [ -f $PKG/install/slack-required ]; then - cat $PKG/install/slack-required > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.dep -fi +cat $PKG/install/slack-required > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.dep # Restore the original umask: umask ${_UMASK_} |