summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2010-05-12 17:43:19 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:43:19 +0200
commit0ab511c521a61566da9a97eef1feb68fb43a53ab (patch)
treeca1bbfc7227c5b520e732b478f4c75eb84a440af
parent0aaf62694c7d00c52aea770f4790ccc393b05083 (diff)
downloadslackbuilds-0ab511c521a61566da9a97eef1feb68fb43a53ab.tar.gz
network/flock: Updated for version 2.5
-rw-r--r--network/flock/doinst.sh4
-rw-r--r--network/flock/flock-simple.diff.gzbin261 -> 257 bytes
-rw-r--r--network/flock/flock.SlackBuild11
-rw-r--r--network/flock/flock.desktop2
-rw-r--r--network/flock/flock.info8
-rw-r--r--network/flock/flock.moz_plugin_path.diff.gzbin352 -> 352 bytes
6 files changed, 17 insertions, 8 deletions
diff --git a/network/flock/doinst.sh b/network/flock/doinst.sh
new file mode 100644
index 0000000000..65fd352418
--- /dev/null
+++ b/network/flock/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/network/flock/flock-simple.diff.gz b/network/flock/flock-simple.diff.gz
index 23d2ddd4de..e6b73bd652 100644
--- a/network/flock/flock-simple.diff.gz
+++ b/network/flock/flock-simple.diff.gz
Binary files differ
diff --git a/network/flock/flock.SlackBuild b/network/flock/flock.SlackBuild
index eaf1803684..4f776a6ddc 100644
--- a/network/flock/flock.SlackBuild
+++ b/network/flock/flock.SlackBuild
@@ -6,7 +6,7 @@
# Modified by Vincent Batts, vbatts@gmail.com
PRGNAM="flock"
-VERSION=2.0.1
+VERSION=2.5
ARCH=${ARCH:-i686}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -23,7 +23,7 @@ mkdir -p $TMP $PKG $OUTPUT
mkdir -p $PKG/usr/lib
cd $PKG/usr/lib
- tar xvf $CWD/${PRGNAM}_afc2D752E58ECCE-$VERSION.en-US.linux-i686.tar.bz2
+ tar xvf $CWD/${PRGNAM}-$VERSION.en-US.linux-i686.tar.bz2
chown -R root:root .
mv ${PRGNAM} $PRGNAM-$VERSION
ln -sf $PRGNAM-$VERSION ${PRGNAM}
@@ -37,7 +37,7 @@ cd -
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin
- ln -sf /usr/lib/$PRGNAM-$VERSION/${PRGNAM} $PRGNAM
+ ln -sf /usr/lib/$PRGNAM-$VERSION/${PRGNAM} $PRGNAM-bin
)
mkdir -p $PKG/usr/lib/mozilla/plugins
@@ -62,8 +62,13 @@ cd $PKG/usr/lib/$PRGNAM-$VERSION
fi
cd -
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp $PKG/usr/lib/$PRGNAM-$VERSION/README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/network/flock/flock.desktop b/network/flock/flock.desktop
index 7d59ef30a9..ac3606f11d 100644
--- a/network/flock/flock.desktop
+++ b/network/flock/flock.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
-Exec=flock %u
+Exec=flock-bin %u
Icon=/usr/share/pixmaps/flock.png
Type=Application
Categories=Application;Network;
diff --git a/network/flock/flock.info b/network/flock/flock.info
index 05fd11ceb1..4c17964aed 100644
--- a/network/flock/flock.info
+++ b/network/flock/flock.info
@@ -1,8 +1,8 @@
PRGNAM="flock"
-VERSION="2.0.1"
+VERSION="2.5"
HOMEPAGE="http://www.flock.com/"
-DOWNLOAD="http://mirror2.flock.com/releases/2.0.1/bundle/flock-afc2D752E58ECCE/flock_afc2D752E58ECCE-2.0.1.en-US.linux-i686.tar.bz2"
-MD5SUM="b5d16461ff8becfd19fae4472862c1af"
+DOWNLOAD="http://ftp.osuosl.org/pub/flock/releases/2.5/flock-2.5.en-US.linux-i686.tar.bz2"
+MD5SUM="6e82b98e8b890c908215bacedf1a484c"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
-APPROVED="rworkman"
+APPROVED="dsomero"
diff --git a/network/flock/flock.moz_plugin_path.diff.gz b/network/flock/flock.moz_plugin_path.diff.gz
index ac82eaa0d0..d8ced99eee 100644
--- a/network/flock/flock.moz_plugin_path.diff.gz
+++ b/network/flock/flock.moz_plugin_path.diff.gz
Binary files differ