mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/rar: Updated for version 4.0.b3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
05170d17e4
commit
b58ae29f1c
4 changed files with 28 additions and 28 deletions
|
@ -1,10 +1,7 @@
|
|||
rar is a command line utitility for creating RAR archives.
|
||||
|
||||
This SlackBuild repackages the official binary.
|
||||
Rar is a powerful tool for processing RAR archives.
|
||||
|
||||
This is a shareware program. If you would like to continue using RAR
|
||||
after 40 days, you will have to purchase a license. See license.txt in
|
||||
the docs directory for more details.
|
||||
after 40 days, you will have to purchase a license. See license.txt
|
||||
in the docs directory for more details.
|
||||
|
||||
To include unrar in the package, run the script like this:
|
||||
UNRAR=yes ./rar.SlackBuild
|
||||
To include unrar in the package, run the script with UNRAR=yes
|
||||
|
|
|
@ -1,20 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for rar
|
||||
# Written by Steven Pledger <piratesmack@ymail.com>
|
||||
# Written by Steven Pledger <spledger91@yahoo.com>
|
||||
|
||||
# Changelog:
|
||||
# Modifed for new rar version with x64 support by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
|
||||
# rev 3: updated to rar 3.9.1, added option to install unrar -steven
|
||||
# rev 4: updated to rar 3.9.2 -steven
|
||||
# rev 5: updated to rar 3.9.3 -steven
|
||||
|
||||
PRGNAM=rar
|
||||
VERSION=${VERSION:-3.9.3}
|
||||
ARCH=${ARCH:-i386}
|
||||
VERSION=${VERSION:-4.0.b3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i386 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -29,9 +30,11 @@ set -e
|
|||
if [ "$ARCH" = "x86_64" ]; then
|
||||
LIBDIRSUFFIX="64"
|
||||
x64FIX="x64-"
|
||||
else
|
||||
elif [ "$ARCH" = "i386" ]; then
|
||||
ARCH=i386
|
||||
LIBDIRSUFFIX=""
|
||||
else
|
||||
printf "\n$ARCH is not supported...\n\n" ; exit 1
|
||||
fi
|
||||
|
||||
rm -rf $TMP/$PRGNAM $PKG
|
||||
|
@ -48,7 +51,7 @@ install -m 0755 rar $PKG/usr/bin
|
|||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
|
||||
install -m 0755 default.sfx $PKG/usr/lib${LIBDIRSUFFIX}
|
||||
|
||||
if [ "$UNRAR" = "yes" ]; then
|
||||
if [ "$UNRAR" != "no" ]; then
|
||||
install -m 0755 unrar $PKG/usr/bin
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="rar"
|
||||
VERSION="3.9.3"
|
||||
VERSION="4.0.b3"
|
||||
HOMEPAGE="http://www.rarlab.com/"
|
||||
DOWNLOAD="http://www.rarlab.com/rar/rarlinux-3.9.3.tar.gz"
|
||||
MD5SUM="4a9a8cf0612735e860f72bdd46c1a03e"
|
||||
DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-3.9.3.tar.gz"
|
||||
MD5SUM_x86_64="622e6aed2de89fd3871f43a2bef0a5c6"
|
||||
DOWNLOAD="http://www.rarlab.com/rar/rarlinux-4.0.b3.tar.gz"
|
||||
MD5SUM="d75306cfd9aaa4b2c61df46b8ee4784b"
|
||||
DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-4.0.b3.tar.gz"
|
||||
MD5SUM_x86_64="2e0cbf932eaf77d82a13637ebf2cb372"
|
||||
MAINTAINER="Steven Pledger"
|
||||
EMAIL="piratesmack@ymail.com"
|
||||
APPROVED="Erik Hanson"
|
||||
EMAIL="spledger91@yahoo.com"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
rar: rar (creates rar archives)
|
||||
rar: rar (processes RAR files)
|
||||
rar:
|
||||
rar: Create RAR archives in Linux.
|
||||
rar: Rar is a powerful tool for processing RAR archives.
|
||||
rar:
|
||||
rar: Homepage: http://www.rarlab.com
|
||||
rar:
|
||||
rar: This is a Shareware Program. You must buy a license from Rar Labs if
|
||||
rar: you want to keep using rar.
|
||||
rar: This is a shareware program. You must buy a license
|
||||
rar: from Rar Labs if you want to keep using rar.
|
||||
rar:
|
||||
rar:
|
||||
rar:
|
||||
|
|
Loading…
Reference in a new issue