aboutsummaryrefslogtreecommitdiff
path: root/network/vidalia/vidalia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/vidalia/vidalia.SlackBuild')
-rw-r--r--network/vidalia/vidalia.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/network/vidalia/vidalia.SlackBuild b/network/vidalia/vidalia.SlackBuild
index 4c702a8aa2479..d5339ec87054e 100644
--- a/network/vidalia/vidalia.SlackBuild
+++ b/network/vidalia/vidalia.SlackBuild
@@ -6,7 +6,7 @@
# Maintained by markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115
PRGNAM=vidalia
-VERSION=${VERSION:-0.2.7}
+VERSION=${VERSION:-0.2.8}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,14 +58,10 @@ mkdir build && cd build
make VERBOSE=1
make install DESTDIR=$PKG
-cd -
+cd ..
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man1
gzip -9c doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
@@ -74,8 +70,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGELOG CREDITS HACKING INSTALL LICENSE* README \
$PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install