From 4f9145f3a1baa75d2422c15d9bed78f117fd6355 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 3 Jan 2020 17:07:44 -0500 Subject: development/edb-debugger: Fix PRGNAM in script. Signed-off-by: B. Watson --- development/edb-debugger/edb-debugger.SlackBuild | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'development') diff --git a/development/edb-debugger/edb-debugger.SlackBuild b/development/edb-debugger/edb-debugger.SlackBuild index 4cc1125676487..12ad7efbb50e4 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} -- cgit v1.2.3