mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/rmw: Updated for version 0.98.3.9beta.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
c463dd6379
commit
4a6ea94efa
4 changed files with 14 additions and 39 deletions
|
@ -1,5 +1,5 @@
|
||||||
rmw (Remove to Waste) is a bash script which functions as a command
|
rmw (Remove to Waste) is a bash script which functions as a command
|
||||||
line recycle bin/trash can utility. Optionally, it can ReMove files
|
line recycle bin/trash can utility. Optionally, it can ReMove files to
|
||||||
to Desktop trash and has been tested on GNOME, KDE, and Xfce. It
|
Desktop trash and has been tested on GNOME, KDE, and Xfce. It features
|
||||||
features quick and easy restoration from the command line, duplication
|
quick and easy restoration from the command line, duplication protection,
|
||||||
protection, and can purge files after x amount of days.
|
and can purge files after x amount of days.
|
||||||
|
|
|
@ -5,40 +5,18 @@
|
||||||
# Written by (Andy Alt) (andyqwerty@users.sourceforge.net)
|
# Written by (Andy Alt) (andyqwerty@users.sourceforge.net)
|
||||||
|
|
||||||
PRGNAM=rmw
|
PRGNAM=rmw
|
||||||
VERSION=${VERSION:-0.98.3.7beta}
|
VERSION=${VERSION:-0.98.3.9beta}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
ARCH=noarch # only bash script here
|
||||||
if [ -z "$ARCH" ]; then
|
|
||||||
case "$( uname -m )" in
|
|
||||||
i?86) ARCH=i486 ;;
|
|
||||||
arm*) ARCH=arm ;;
|
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
set -e
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
|
||||||
LIBDIRSUFFIX=""
|
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
|
||||||
LIBDIRSUFFIX=""
|
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
|
||||||
LIBDIRSUFFIX="64"
|
|
||||||
else
|
|
||||||
SLKCFLAGS="-O2"
|
|
||||||
LIBDIRSUFFIX=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -e # Exit on most errors
|
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
@ -53,13 +31,10 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION
|
||||||
--build=$ARCH-slackware-linux
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="rmw"
|
PRGNAM="rmw"
|
||||||
VERSION="0.98.3.7beta"
|
VERSION="0.98.3.9beta"
|
||||||
HOMEPAGE="http://rmw.sf.net/"
|
HOMEPAGE="http://rmw.sf.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/rmw/rmw-0.98.3.7beta.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/rmw/rmw-0.98.3.9beta.tar.gz"
|
||||||
MD5SUM="e546efa801f45f0d939b7436a1873dba"
|
MD5SUM="bdc92882663aa49c3386050df8563ac6"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Andy Alt"
|
MAINTAINER="Andy Alt"
|
||||||
EMAIL="andyqwerty@users.sourceforge.net"
|
EMAIL="andyqwerty@users.sourceforge.net"
|
||||||
APPROVED="rworkman"
|
APPROVED="Niels Horn"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# make exactly 11 lines for the formatting to be correct. It's also
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler-----------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
rmw: rmw (command line trash can/recycle bin)
|
rmw: rmw (command line trash can/recycle bin)
|
||||||
rmw:
|
rmw:
|
||||||
rmw: rmw (ReMove to Waste) is a bash script which functions
|
rmw: rmw (ReMove to Waste) is a bash script which functions
|
||||||
|
|
Loading…
Reference in a new issue