summaryrefslogtreecommitdiff
path: root/network/flock/flock.SlackBuild
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 /network/flock/flock.SlackBuild
parent0aaf62694c7d00c52aea770f4790ccc393b05083 (diff)
downloadslackbuilds-0ab511c521a61566da9a97eef1feb68fb43a53ab.tar.gz
network/flock: Updated for version 2.5
Diffstat (limited to 'network/flock/flock.SlackBuild')
-rw-r--r--network/flock/flock.SlackBuild11
1 files changed, 8 insertions, 3 deletions
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