diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-11-24 23:51:55 +0000 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-25 18:19:39 +0100 |
commit | b55c21e468aa649da48b7ff38db92b2bbf9086d0 (patch) | |
tree | 3360fe22447aeb833cc4295d871a96b389664d78 /network | |
parent | bbd582a3c22b24a5d88f8bc0d00c24b231690cb3 (diff) |
network/unicornscan: Fixed version number.
Made it 0.4.7_2 in both SlackBuild and .info.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/unicornscan/unicornscan.SlackBuild | 11 | ||||
-rw-r--r-- | network/unicornscan/unicornscan.info | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/network/unicornscan/unicornscan.SlackBuild b/network/unicornscan/unicornscan.SlackBuild index e82cb81d6beb..616a9308fbeb 100644 --- a/network/unicornscan/unicornscan.SlackBuild +++ b/network/unicornscan/unicornscan.SlackBuild @@ -24,10 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=unicornscan -VERSION=${VERSION:-0.4.7} +VERSION=${VERSION:-0.4.7_2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVER=$(echo $VERSION | tr _ -) +SHORTVER=$(echo $VERSION | sed 's/_.*//') + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -60,9 +63,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-2.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SHORTVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 +cd $PRGNAM-$SHORTVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/network/unicornscan/unicornscan.info b/network/unicornscan/unicornscan.info index 14fcf3e032aa..8d2877d2614e 100644 --- a/network/unicornscan/unicornscan.info +++ b/network/unicornscan/unicornscan.info @@ -1,5 +1,5 @@ PRGNAM="unicornscan" -VERSION="0.4.7-2" +VERSION="0.4.7_2" HOMEPAGE="http://unicornscan.org" DOWNLOAD="http://unicornscan.org/releases/unicornscan-0.4.7-2.tar.bz2" MD5SUM="4c5f272eb38c333c0094c32317edf758" |