summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/edb-debugger/edb-debugger.SlackBuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/development/edb-debugger/edb-debugger.SlackBuild b/development/edb-debugger/edb-debugger.SlackBuild
index 4cc1125676..12ad7efbb5 100644
--- a/development/edb-debugger/edb-debugger.SlackBuild
+++ b/development/edb-debugger/edb-debugger.SlackBuild
@@ -22,12 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAMPREFIX=edb
-PRGNAM=debugger
+PRGNAM=edb-debugger
VERSION=${VERSION:-0.9.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PRGNAMPREFIX=edb
+SRCNAM=debugger
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -38,7 +40,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
+PKG=$TMP/package-$SRCNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
@@ -60,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tgz
+cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -89,13 +91,13 @@ cp -a edb.1.gz $PKG/usr/man/man1
mkdir -p $PKG/usr/include/$PRGNAMPREFIX
cp -a include/. $PKG/usr/include/$PRGNAMPREFIX
-mkdir -p $PKG/usr/doc/$PRGNAMPREFIX-$PRGNAM-$VERSION
-cp -a doc/. BUGS CHANGELOG COPYING README README.plugins TODO $PKG/usr/doc/$PRGNAMPREFIX-$PRGNAM-$VERSION
-cat $CWD/$PRGNAMPREFIX-$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAMPREFIX-$PRGNAM-$VERSION/$PRGNAMPREFIX-$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/. BUGS CHANGELOG COPYING README README.plugins TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $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/$PRGNAMPREFIX-$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}