summaryrefslogtreecommitdiffstats
path: root/dropbox-client
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-10-08 19:33:30 +0000
committer Eric Hameleers <alien@slackware.com>2009-10-08 19:33:30 +0000
commit7cf8775e978495124d5461c63e085260e0418088 (patch)
tree09a19ad68b6a33af2e15631d6da1120b486e8a55 /dropbox-client
parent4747d0fb27c6f7e09f7f28c9737d99a969991607 (diff)
downloadasb-7cf8775e978495124d5461c63e085260e0418088.tar.gz
asb-7cf8775e978495124d5461c63e085260e0418088.tar.xz
Fix a few small issues
Diffstat (limited to 'dropbox-client')
-rwxr-xr-xdropbox-client/build/dropbox-client.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/dropbox-client/build/dropbox-client.SlackBuild b/dropbox-client/build/dropbox-client.SlackBuild
index 7f3fcad2..97bc494e 100755
--- a/dropbox-client/build/dropbox-client.SlackBuild
+++ b/dropbox-client/build/dropbox-client.SlackBuild
@@ -25,7 +25,7 @@
# Slackware SlackBuild script
# ===========================
# By: Eric Hameleers <alien@slackware.com>
-# For: dropbox
+# For: dropbox-client
# Descr: store, sync and share files online
# URL: http://www.getdropbox.com/
# Needs:
@@ -39,7 +39,7 @@
# case you do have gnome, the package will integrate into the
# nautilus.
#
-# Run 'sh dropbox.SlackBuild' to build a Slackware package.
+# Run 'sh dropbox-client.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
# Install it using 'installpkg'.
#
@@ -47,7 +47,8 @@
# Set initial variables:
-PRGNAM=dropbox
+PRGNAM=dropbox-client
+RPMNAM=nautilus-dropbox
VERSION=${VERSION:-0.6.1}
ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1}
@@ -67,8 +68,8 @@ TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SOURCE="$SRCDIR/nautilus-${PRGNAM}-${VERSION}-1.fc10.${ARCH}.rpm"
-SRCURL="http://linux.getdropbox.com/packages/nautilus-${PRGNAM}-${VERSION}-1.fc10.${ARCH}.rpm"
+SOURCE="$SRCDIR/${RPMNAM}-${VERSION}-1.fc10.${ARCH}.rpm"
+SRCURL="http://linux.getdropbox.com/packages/${RPMNAM}-${VERSION}-1.fc10.${ARCH}.rpm"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -129,7 +130,7 @@ explodepkg $TMP/tmp-$PRGNAM/$( basename $SOURCE .rpm ).tgz
# The dropbox daemon expects nautilus in it's PATH - so we provide a
# shell script by that name that in fact will run your default file manager:
mkdir -p $PKG/usr/bin
-cat <<EOT > $PKG/usr/bin/nautilus.new
+cat <<"EOT" > $PKG/usr/bin/nautilus.new
#!/bin/bash
xdg-open $@
exit 0