summaryrefslogtreecommitdiff
path: root/network/flock/flock.SlackBuild
diff options
context:
space:
mode:
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